JSON to StringUtils

roarnold

Active Member
Licensed User
Longtime User
All,

I am trying to make an app a bit more efficient and I know stringutils will help. So here is where I am at.

I have a JSON feed that can be one chunk of specific information or 500 separate chunks that are specific to devices. The problem I have is that if I parse the JSON I have to have 1000's of lines of code not to mention setting up designer.

Can some one give me an idea how to take the JSON info and place in a csv file which would then allow for less lines of codes, better efficiency and retain is individual wants to look at another device.

While the JSON may have 15 specific pieces of information associated with that one devices I only need five items from it. Those five item can be my headers labels with the associated information under it.

Would be a huge help.

Thanks in Advance.
Ron
 

roarnold

Active Member
Licensed User
Longtime User
Json

Erel,

No that is my point. I am wondering how to leverage JSON Utils as opposed to having a 1000 line of information I have to process in a more manual mode. I have read the tutorials but not quite sure the input and out put views. Right now I receive a JSON string that can be many hundreds of elements relevant to devices and I am currently just parsing out ten lines and have close to 1000 lines of code so far just for 10 devices.

So I know that is not going to work. I was interested in more information on JSON utils, and if I can get the JSON info into a CSV file then it would really make my life a whole lot easier and the app way more efficient.

Many things I have worked out that were other issues such as scrolling and presentation now I have to manage the pile of data coming in.

Thanks for the reply and appreciate the help.

Ron
 
Upvote 0

roarnold

Active Member
Licensed User
Longtime User
SO I have to bring the JSON string into the app then convert it somehow to using String Utils to a CSV file?
 
Upvote 0
Top