Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Customer 39) Single JSON objects are not serialised correctly when returned from javascript functions #2388

Closed
mattaylor opened this issue May 26, 2014 · 3 comments
Assignees
Milestone

Comments

@mattaylor
Copy link
Contributor

Using 1.7 SNAPSHOT from last tuesday..

Given a function like...

function test = { return {a:1, b:2 } }

when executed from either studio or http, this will return

[{"a":1},{"b":2}]
@enisher enisher added this to the 1.7.1 milestone May 27, 2014
@enisher enisher self-assigned this May 27, 2014
enisher added a commit that referenced this issue May 27, 2014
@enisher
Copy link
Contributor

enisher commented May 27, 2014

Fixed. Now the result is:
[{"@type":"d","@Version":0,"value":{"a":2,"b":3}}]
That is consistent to serialization of scalar results.

@enisher enisher closed this as completed May 27, 2014
@lvca lvca added 3 - Done and removed 2 - Working labels May 27, 2014
lvca added a commit that referenced this issue May 27, 2014
This reverts commit c2a8d96.
lvca added a commit that referenced this issue May 27, 2014
@mattaylor
Copy link
Contributor Author

Please can you reopen this issue. Given the fix commit has been reverted.

@enisher
Copy link
Contributor

enisher commented Jun 13, 2014

@mattaylor it was reverted in another branch. The fix is present in current snapshot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants