mirror of
https://github.com/postgres/postgres.git
synced 2025-05-11 05:41:32 +03:00
doc: Format example JSON data better
This commit is contained in:
parent
baca53d3dc
commit
79504cfe1b
@ -12822,17 +12822,20 @@ table2-mapping
|
||||
For example, suppose you have some JSON data from a GPS tracker that you
|
||||
would like to parse, such as:
|
||||
<programlisting>
|
||||
{ "track" :
|
||||
{
|
||||
"segments" : [
|
||||
{ "location": [ 47.763, 13.4034 ],
|
||||
{
|
||||
"track": {
|
||||
"segments": [
|
||||
{
|
||||
"location": [ 47.763, 13.4034 ],
|
||||
"start time": "2018-10-14 10:05:14",
|
||||
"HR": 73
|
||||
},
|
||||
{ "location": [ 47.706, 13.2635 ],
|
||||
{
|
||||
"location": [ 47.706, 13.2635 ],
|
||||
"start time": "2018-10-14 10:39:21",
|
||||
"HR": 135
|
||||
} ]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
</programlisting>
|
||||
|
Loading…
x
Reference in New Issue
Block a user