You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Stig Bakken (JIRA)" <ji...@apache.org> on 2015/07/24 02:02:04 UTC

[jira] [Created] (THRIFT-3263) PHP jsonSerialize() should cast scalar types

Stig Bakken created THRIFT-3263:
-----------------------------------

             Summary: PHP jsonSerialize() should cast scalar types
                 Key: THRIFT-3263
                 URL: https://issues.apache.org/jira/browse/THRIFT-3263
             Project: Thrift
          Issue Type: Improvement
          Components: PHP - Compiler
    Affects Versions: 0.9.2
            Reporter: Stig Bakken
            Priority: Minor


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.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)