baml.json.ParseError

A JSON syntax error.

Reference version

Signature

class baml.json.ParseError

A JSON syntax error.

Only the entry points that read text raise this: parse, from_string<T>, and deserialize<T>. Everything that consumes an already-parsed json throws DecodeError instead. message is the parser's own diagnostic, locating the offending line and column.

Source:<builtin>/baml/ns_json/json.bamlbytes 857898

Fields

message

string

Implementations

baml.Concrete for T

Source:<builtin>/baml/core.bamlbytes 747779