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

How can i pass the folder path in the JSON object #183

Closed
bmadhu226 opened this issue Dec 19, 2015 · 1 comment
Closed

How can i pass the folder path in the JSON object #183

bmadhu226 opened this issue Dec 19, 2015 · 1 comment

Comments

@bmadhu226
Copy link

How can i pass the folder path in the JSON.

But when passing the path("/latest/object/300000006637803/child/child_c ) to JSON it reading as "/latest/MetaData_c/300000006637803/child/MetaDataFieldsCollection_c"

code:

part=new LinkedHashMap();
part.put("id",count);
part.put("path","/latest/object/300000006637803/child/child_c);
part.put("operation",operation);
System.out.println(JSONValue.toJSONString(part));

output:

{

"id":"part1",

"path":"/latest/MetaData_c/300000006637803/child/MetaDataFieldsCollection_c",

"operation":"create"

}

@stleary
Copy link
Owner

stleary commented Dec 20, 2015

Could you please clarify your code example? The JSON-java project has no JSONValue class.

@stleary stleary closed this as completed Dec 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants