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

json_to_xml returns NULL on correct JSON #51

Open
GoogleCodeExporter opened this issue Jun 18, 2015 · 1 comment
Open

json_to_xml returns NULL on correct JSON #51

GoogleCodeExporter opened this issue Jun 18, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

Which version of common_schema are you using? 2.2, mysql 5.6

Which component is failing? json_to_xml function

What is the expected output? What do you see instead?
SELECT common_schema.json_to_xml(jsonValue) FROM Table =>
NULL

Can you provide with sample data?
{
    "strategy": "ALL_TO_ALL",
    "configs": [{
        "licenseUUID": "da5cea41-3223-11e2-bccc-76fcde5e1dd2",
        "hitTypeHashCode": 0,
        "sandboxHitTypeHashCode": 0,
        "channels": []
    },
    {
        "licenseUUID": "81bc094b-bf1d-4d79-93ff-95613c525a55",
        "hitTypeHashCode": 0,
        "sandboxHitTypeHashCode": 0,
        "channels": ["NATIVE"]
    }],
    "type": "MULTIPLE"
}

Please provide any additional information below.
Probably nested arrays are not processed correctly


Original issue reported on code.google.com by [email protected] on 3 Dec 2013 at 3:04

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

No branches or pull requests

1 participant