Documentation
¶
Overview ¶
This is a JSON parser example. It's not a strict implementation as it was written only for demonstration. For most JSON strings it should still be able to parse the input.
You can run this file to see the parser in action:
go run json.go
By default the included example.json file will be used and the output will be:
Parser calls: 240 map[title:Person type:object properties:map[firstName:map[type:string] lastName:map[type:string] age:map[description:Age in years type:integer minimum:0]] required:[firstName lastName]]
Click to show internal directories.
Click to hide internal directories.