The extJSONValueReader should honor the error of its underlying reader

XMLWordPrintableJSON

    • Major Change
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, the extJSONValueReader will not honor the error returned by its underlying reader, and instead, will return ErrInvalidJSON. This is probably not correct, since the underlying reader could easily error out for a reason that does not have to do with invalid JSON, and in either case, this removes vital information about why there was an error.

      I believe this code should return the error from the underlying reader, err, instead of ErrInvalidJSON.

      This ticket was created from this slack thread.

              Assignee:
              Unassigned
              Reporter:
              May Hoque
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: