unflatten

  1. B4J Question How to Unflatten List to a JSON Tree?

    Hi there Can anyone please help with a snippet to unflatten data into a json stree? For example, this is my list of records... Dim arr As List arr.Initialize arr.Add(CreateMap("id":1 ,"parentid" : 0)) arr.Add(CreateMap("id":4 ,"parentid" : 2)) arr.Add(CreateMap("id":3 ,"parentid" : 1))...
Cookies are required to use this site. You must accept them to continue using the site. Learn more…