Skip to content

Can't return scalar values from RPC services #3

@weierophinney

Description

@weierophinney

Today I try return a integer from my rpc service and apigility return a html page without a error.

I see that top level parser is different from deep level parser, for example:

this code
return array(array(1));
return this json
{"0":[1]}

Maybe the problem has something relative to this, sometime that top leve parser try convert everthing to a object.


Originally posted by @edipoReboucas at zfcampus/zf-rpc#6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions