frictionless-r icon indicating copy to clipboard operation
frictionless-r copied to clipboard

Support reading inline data with schema

Open peterdesmet opened this issue 4 years ago • 1 comments

read_resource() supports reading from inline data, but that feature is currently marked as experimental because it completely ignores schema. Would be good to support schema, but likely involves a hefty rewrite of read_resource().

peterdesmet avatar Dec 03 '21 12:12 peterdesmet

Note also that the specs state:

EITHER: a JSON array or Object- the data is then assumed to be JSON data and SHOULD be processed as such OR: a JSON string - in this case the format or mediatype properties MUST be provided.

Thus, a consumer of resource object MAY assume if no format or mediatype property is provided that the data is JSON and attempt to process it as such.

peterdesmet avatar Dec 16 '21 18:12 peterdesmet