chrisglasier
12-26-2009, 07:54 AM
Anyone kind enough to show me how to extract both the name and value from Json things like this:
"4": {
"type": "Head",
"genus": "Project",
"name": "House01",
"backlink": [
3
],
"forelink": [
5,
6
]
}
To change current values, for example I want to use "type" to call up a list of types (like Head, Entity, Grouping, and Item), "genus" to call up a list of common names often used within the type, and "name" to call up a list of names often used within the genus to name an instance. The number of name/value pairs in each node may be 20, 30 or more and the number of nodes will run into hundreds.
Thanks and season's greetings.
Chris
edit: just found answer way down below in "Reading Name/Value pair from JSON object". Put thanks there.
"4": {
"type": "Head",
"genus": "Project",
"name": "House01",
"backlink": [
3
],
"forelink": [
5,
6
]
}
To change current values, for example I want to use "type" to call up a list of types (like Head, Entity, Grouping, and Item), "genus" to call up a list of common names often used within the type, and "name" to call up a list of names often used within the genus to name an instance. The number of name/value pairs in each node may be 20, 30 or more and the number of nodes will run into hundreds.
Thanks and season's greetings.
Chris
edit: just found answer way down below in "Reading Name/Value pair from JSON object". Put thanks there.