Hi,
When I try to run the JSON exporter by using help from below path:
https://helpx.adobe.com/experience-manager/6-3/release-notes/json-exporter-fp.html
then, I am not able to get the values in the JSON as shown in the last screenshot on that page as shown below.
Has anyone has any idea about it, to change the value of the type and also how airportOperationalSince, airportNames, ... values getting generated in the JSON; for me it is generating the component node names.
Thanks,
Mayur
Solved! Go to Solution.
Views
Replies
Total Likes
Use the Annotation @JsonProperty("XYZ")
Example:
@JsonProperty("columnXyz")
public Map<String, Object> getColumn1() {
Map<String, Object> firstColumMap = new LinkedHashMap<>();
..............
return firstColumMap;
}
Views
Replies
Total Likes
Look at using Sling Model Exporter -- Scott's Digital Community: Creating a Sling Model Injector for Adobe Experience Manager
Views
Replies
Total Likes
I have used the Sling Model Exporter,
I am able to change the JSON keys for a particular component model json
(model json url - /content/myproject/mypage/jcr:content/par/mycomponent.model.json)
but I am not able to do so in the experience fragment JSON which has been shown in the screenshot attached in my question
(json url - /content/myproject/mypage/jcr:content/root/responsivegrid/experiencefragment.model.json)
Even the @JsonProperty annotation behaves the same as above.
Thanks,
Mayur
Views
Replies
Total Likes
For JSON - use this URL:
http://localhost:4502/libs/wcm/core/content/pageinfo.json?path=/content/we-retail/us/en
Obtaining Page Information in JSON Format
I did that and it works fine.
Views
Replies
Total Likes
Views
Replies
Total Likes
I am seeing the same results as you when trying this:
This does not work as documented: http:
//localhost
:4502
/content/we-retail/language-masters/en
.model.json
Views
Replies
Total Likes
Previous reply was on 6.3. However - 6.4 produces this result:
Views
Replies
Total Likes
Hi All,
Through the below URLI can get the Json data ..
http://localhost:4502/content/we-retail/us/en/products/men/shirts.model.json
But suppose my Content Fragment is not associated with any Page then how I can get the Json data for the Content Fragment .
like for this below Path:
/content/dam/caas_contentfragment
Thanks and Regards,
Subrata