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

PHP jsonSerialize() should cast scalar types

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.9.2
    • 0.10.0
    • PHP - Compiler
    • None

    Description

      In PHP, values from databases and such are usually always strings, so it is useful to cast values during JSON serialization to maintain the Thrift schema's types.

      Attachments

        Issue Links

          Activity

            People

              stigsb Stig Bakken
              stigsb Stig Bakken
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: