ak._v2.operations.io.ak_from_json_file.NDJSONDecoder

Defined in awkward._v2.operations.io.ak_from_json_file on line 9.

class ak._v2.operations.io.ak_from_json_file.NDJSONDecoder((self))

JSON decoder class to implement ‘ndjson’ specs: see https://github.com/ndjson/ndjson-spec

- accept newline as line delimiter '

‘ (0x0A) as well as carriage return and newline ‘ ‘ (0x0D0A)

  • ignore empty lines ‘

  • raise an error if JSON is nor parsable

ak._v2.operations.io.ak_from_json_file.NDJSONDecoder.decode

ak._v2.operations.io.ak_from_json_file.NDJSONDecoder.decode(self, s)