Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Use of .infinity.json

Avatar

Level 2

What is the actual use of .infinity.json?

1 Accepted Solution

Avatar

Correct answer by
Level 5

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

View solution in original post

3 Replies

Avatar

Correct answer by
Level 5

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

Avatar

Level 9

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

Avatar

Level 1

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??