Skip to content
This repository has been archived by the owner on Oct 23, 2020. It is now read-only.

unable to add multiple values in extension in Object #31

Closed
Rialakshmi opened this issue May 31, 2017 · 0 comments
Closed

unable to add multiple values in extension in Object #31

Rialakshmi opened this issue May 31, 2017 · 0 comments

Comments

@Rialakshmi
Copy link

HashMap<String, JsonElement> ext = new HashMap<>(); JsonElement je=new JsonPrimitive("location"));
ext.put(LOCATION,je);
ad.setExtensions(ext);
activity.setDefinition(ad);
statement.setObject(activity);

if I try to add one more value like classroom and classname to extension. I am getting error. Cant we add two or more values to extension? If we have some more values to be added to extension, then how can we add?

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

No branches or pull requests

2 participants