Talk:Madoka Online Adventure Data: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (→Quest Data) |
||
Line 4: | Line 4: | ||
*python -c 'import sys,json; data=json.loads(sys.stdin.read()); print json.dumps(data,sort_keys=True,indent=4).decode(\"unicode_escape\").encode(\"utf8\",\"replace\")' | *python -c 'import sys,json; data=json.loads(sys.stdin.read()); print json.dumps(data,sort_keys=True,indent=4).decode(\"unicode_escape\").encode(\"utf8\",\"replace\")' | ||
*echo filename.json | python -c 'import sys,json; data=json.loads(sys.stdin.read()); print json.dumps(data,sort_keys=True,indent=4).decode(\"unicode_escape\").encode(\"utf8\",\"replace\")' > outputfile | *echo filename.json | python -c 'import sys,json; data=json.loads(sys.stdin.read()); print json.dumps(data,sort_keys=True,indent=4).decode(\"unicode_escape\").encode(\"utf8\",\"replace\")' > outputfile | ||
*[Windows cmd] for /f %f in ('dir /b *json') do type %f | python -c "import sys,json; data=json.loads(sys.stdin.read()); print json.dumps(data,sort_keys=True,indent=4).decode(\"unicode_escape\").encode(\"utf8\",\"replace\")" > %f.txt | |||
==Quest 1== | ==Quest 1== | ||
Revision as of 09:07, 27 November 2012
Quest Data
Archive: [1]
- python -c 'import sys,json; data=json.loads(sys.stdin.read()); print json.dumps(data,sort_keys=True,indent=4).decode(\"unicode_escape\").encode(\"utf8\",\"replace\")'
- echo filename.json | python -c 'import sys,json; data=json.loads(sys.stdin.read()); print json.dumps(data,sort_keys=True,indent=4).decode(\"unicode_escape\").encode(\"utf8\",\"replace\")' > outputfile
- [Windows cmd] for /f %f in ('dir /b *json') do type %f | python -c "import sys,json; data=json.loads(sys.stdin.read()); print json.dumps(data,sort_keys=True,indent=4).decode(\"unicode_escape\").encode(\"utf8\",\"replace\")" > %f.txt