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

PHP jsonSerialize() should cast scalar types

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.9.2
    • Fix Version/s: 0.10.0
    • Component/s: PHP - Compiler
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: