scala - Configure Play/Jerkson to deserialize single quoted (non-standard) JSON w/o duplicating a lot of code -
in play 2.0 application, need deserialize json source don't control uses single-quotes around strings -- json spec calls double-quotes.
the solution using jackson here: configure jackson deserialize single quoted (invalid) json
but trying implement solution in play2.0 hit wall of static objects , private classes... should enough replace object jerksonjson 1 implementing solution linked above @ initialization, because static object can't extended, , id try copy code need drag along classes playserializers, playdeserializers, jsvaluedeserializer,... stopped here, looked much.
is there clean solution?
how trying fix invalid json string replacing every ' in "?
that work if 's used specifying strings.
Comments
Post a Comment