资 源 简 介
Json2Txt is a utility that can extract fields from JSON using XPath like paths. This utility has been released as open source by Air New Zealand in the hopes that others find it useful.
Basic usage
For example, with the following JSON in a file named store.json:
{ "store": { "book": [ { "category": "reference", "author": "Nigel Rees", "title": "Sayings of the Century", "price": 8.95 }, { "category": "fiction", "author": "Evelyn Waugh", "title": "Sword of Honour", "price": 12.99 }, { "category": "fiction", "author": "Herman Melville", "title": "Moby Dick", "isbn": "0-553-21311-3", "price": 8.99 }, { "category": "fiction", "author": "J.