You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/04/05 18:05:41 UTC

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

    [ https://issues.apache.org/jira/browse/THRIFT-3263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15957338#comment-15957338 ] 

ASF GitHub Bot commented on THRIFT-3263:
----------------------------------------

Github user jeking3 commented on the issue:

    https://github.com/apache/thrift/pull/560
  
    @jfarrell this can be closed.  It was merged.


> 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
>            Assignee: Stig Bakken
>            Priority: Minor
>             Fix For: 0.10.0
>
>
> 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.15#6346)