0

For instance, if

key1:value1,key2:value2

is passed into the parser, I'd like it to be treated the same as:

{"key1":"value1","key2","value2"}
Garrett Hall
  • 29,524
  • 10
  • 61
  • 76
  • probably not. json REQUIREs quoted keys, proper bracketing, etc... if it's not valid json, then by definition it's NOT json. – Marc B Feb 27 '13 at 17:32
  • You could write your own parser with some semantic logic... but it's not about jackson, I think. – user Feb 27 '13 at 17:33
  • 1
    I don't think it can be called JSON at all then – Chris Feb 27 '13 at 17:47

1 Answers1

1

What you have is not JSON. However, I think it might just be YAML, so check out YAML parsers if you like such a notation.

StaxMan
  • 113,358
  • 34
  • 211
  • 239