I made a redundant assignment of the inventory_json object in the ExampleClient_setbikes() function (line 464) to work around a glitch in the way the examples are displayed in the docs page. Also, I've included some long JSON output in the // Output: comments in some places. Please let me know if there are better ways to handle these situations.
Go versions of the samples in the main JSON page and the JSON path page.
I made a redundant assignment of the
inventory_json
object in theExampleClient_setbikes()
function (line 464) to work around a glitch in the way the examples are displayed in the docs page. Also, I've included some long JSON output in the// Output:
comments in some places. Please let me know if there are better ways to handle these situations.