3 ms·
A human can't easily understand the structure of a large JSON file - JSON is internally self-describing, so there is no guarantee that the sample of records cur
by alexatkeplar 10y ago
A human can't easily understand the structure of a large JSON file - JSON is internally self-describing, so there is no guarantee that the sample of records currently visible in your editor's viewport are representative of the whole.
Instead, use a tool like Schema Guru (https://github.com/snowplow/schema-guru https://github.com/snowplow/schema-guru ; disclaimer: we wrote this at Snowplow) to programmatically extract the JSON Schema (http://json-schema.org/ http://json-schema.org/) which represents all JSON instances in the file.