mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-07 19:47:50 +08:00
doc: Format example JSON data better
This commit is contained in:
parent
a4a5c0cf9c
commit
6c3ef7482f
@ -12916,17 +12916,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 New Issue
Block a user