Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3200

JS and nodejs do not encode JSON protocol binary fields as base64

    XMLWordPrintableJSON

Details

    Description

      Binary fields in the JSON protocol are base64 encoded in cpp/go/java/rb/py/go/... All code with JSON implementations except javascript and nodejs - which escape them as if they as strings (unfinished implementation). This makes js/nodejs incompatable with any other languages since JSON is their only supported protocol. To fix this js/nodejs need to be corrected, but this will break backward compatibility.

      Attachments

        Issue Links

          Activity

            People

              nsuke Nobuaki Sukegawa
              beberg Adam Beberg
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: