Jackson JSON Processor
  1. Jackson JSON Processor
  2. JACKSON-173

Support single-quote ( ' ) for names and values

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.3
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Quite a lot of JSON in the wild uses single quotes, a la:

      { 'foo': 'bar' }

      It would be nice to allow parsing this in Jackson.

        Activity

        Hide
        Tatu Saloranta added a comment -

        fixed a typo in desc

        Show
        Tatu Saloranta added a comment - fixed a typo in desc
        Hide
        Tatu Saloranta added a comment -

        Took bit more than I first though (since it also needs to cover String value case, unlike with optional quoting for names), but was quite doable. Added some simple unit tests, seems to work ok.

        Show
        Tatu Saloranta added a comment - Took bit more than I first though (since it also needs to cover String value case, unlike with optional quoting for names), but was quite doable. Added some simple unit tests, seems to work ok.
        Hide
        Tatu Saloranta added a comment -

        Included in 1.3.0.

        Show
        Tatu Saloranta added a comment - Included in 1.3.0.

          People

          • Assignee:
            Tatu Saloranta
            Reporter:
            Brian McCallister
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: