valyala / fastjson

Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why maintain parser and validate separately?

GGXXLL opened this issue · comments

commented

More often than not, we need to parse Json. So when parsing, we can simply return an invalid error if the json is invalid. Separate maintenance has created some problems:

  • inconsistent behavior #88
  • more complex operations #68