You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
d:\projects\tink_json_enum_test\index.js:2403 throw new js__$Boot_HaxeError(
new tink_core_TypedError(
422,
"Cannot process " + Std.string(__ret), {
fileName :"GenReader.hx",
lineNumber : 291,
className :"tink.json.Parser0", methodName :"parse0"
}
));
^
Error: Error#422: Cannot process {
type: Borked,
x : null,
y : null
} @ tink.json.Parser0.parse0:291
at tink_json_Parser0.parse0 (d:\projects\tink_json_enum\index.js:2403:11)
at tink_json_Parser0.parse (d:\projects\tink_json_enum\index.js:2551:21)
at Function.Main.main (d:\projects\tink_json_enum\index.js:45:38)
at d:\projects\tink_json_enum\index.js:2627:6
at Object.<anonymous> (d:\projects\tink_json_enum\index.js:2628:3)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
The text was updated successfully, but these errors were encountered:
The solution would be to align @:json('Borked') Borked; and { "type": "Borked" }, i.e. either declare @:json({ type: 'Borked'}) Borked; or parse "Borked".
i'm using tink_json 0.6.2 from haxelib
The text was updated successfully, but these errors were encountered: