mirror of
https://github.com/postgres/postgres.git
synced 2026-05-28 04:35:45 -04:00
doc: Format example JSON data better
This commit is contained in:
parent
baca53d3dc
commit
79504cfe1b
1 changed files with 9 additions and 6 deletions
|
|
@ -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…
Reference in a new issue