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/10/29 09:33:27 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=14980043#comment-14980043 ] 

Stig Bakken commented on THRIFT-3263:
-------------------------------------

Anyone have time to review this patch?

> 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)