Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-1569

Allow JSONCodec to be used without JsonWriter

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Medium Medium
    • 13.0.3, 11.0.7
    • None
    • codecs

      We have a use case for using JSON codecs outside of writing to a JSON document in NETCONF-1264.

      Improve JSONCodec API to allow the serialized value to be intercepted without relying on tricks around JsonReader.

      Essentially we need a JSONValueWriter interface, which will act as the primary API to the individual codecs and provide an implementation which routes write requests to JsonWriter.

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: