Use of .infinity.json | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Yogesh_Upadhyay

If you are not sure how deep your content structure is, you can use infinity.json to get data at all level.

It looks like current implementation returns all level response instead of actual data (Which could be huge).

For performance reason and security reason avoid using .infinity.json

http://apache-sling.73963.n3.nabble.com/Disabling-node-infinity-json-td114418.html

Yogesh

3 replies

Yogesh_Upadhyay
Yogesh_UpadhyayAccepted solution
Level 6
October 16, 2015

If you are not sure how deep your content structure is, you can use infinity.json to get data at all level.

It looks like current implementation returns all level response instead of actual data (Which could be huge).

For performance reason and security reason avoid using .infinity.json

http://apache-sling.73963.n3.nabble.com/Disabling-node-infinity-json-td114418.html

Yogesh

Pawan-Gupta
Level 8
October 16, 2015

Hi,

.infinity.json and .json are same to render (represent) the node data in JSON format until you have written something explicitly for selector "infinity"

some more information related to inifinity usage you can find http://stackoverflow.com/questions/1423081/json-left-out-infinity-and-nan-json-status-in-ecmascript which i understood may be one reason.

 

Thanks,

Pawan

September 30, 2018

Hi ,

Using .infinity.json in classic ui dialog for reuse-ability in the form of cqinclue, is there any security or performance issue on author instance??