But keep getting null. I also tried to cast it as a IpublishedContent with no luck.
When debugging I get the property value, but only as a object {string} (the raw json I guess).
How can I parse Nested Content and deserialize it back to a enumerable? I've seen examples how to create NC programmaticly, but haven't seen how I can deserialize a json string to nested content.
I've had a similar problem with Nested Content in macros.
I had to cast it to a JArray, and get the properties from there. Not sure if that would work for you here
Nested Content in member section (deserialize NC json string)
I want to access a nested content property using:
But keep getting null. I also tried to cast it as a IpublishedContent with no luck. When debugging I get the property value, but only as a object {string} (the raw json I guess).
How can I parse Nested Content and deserialize it back to a enumerable? I've seen examples how to create NC programmaticly, but haven't seen how I can deserialize a json string to nested content.
I am having the same problem when trying to access nested content on members. Did you find a solution?
Best regards.
I've had a similar problem with Nested Content in macros. I had to cast it to a
JArray
, and get the properties from there. Not sure if that would work for you hereNot ideal, but it worked.
is working on a reply...