Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options questions only user 17781

JSON (JavaScript Object Notation) is a lightweight data representation format that resembles JavaScript source and that is can be easily red by machines and edited by humans with some effort.

0
votes
2answers
I have json mapping under properties key as below in a file Customer.json, { "customer": { "properties": { "customerId": { "type": "string … json; \ print "\n".join( [i["properties"] for i in json.loads( sys.stdin.read() )["customer"]] )' Traceback (most recent call last): File "<string>", line 2, in <module> TypeError: string indices must be integers, not str I'm open to other solutions as well. …
asked Jul 4 '14 by prayagupd
18
votes
8answers
I have a JSON file members.json as below. { "took": 670, "timed_out": false, "_shards": { "total": 8, "successful": 8, "failed": 0 }, "hits": { "total": 74 … "Usage: getJsonVal 'key' < /tmp/file"; echo " -- or -- "; echo " cat /tmp/input | getJsonVal 'key'"; return; fi; cat | python -c 'import json,sys;obj=json.load(sys.stdin …
asked Feb 21 '14 by prayagupd