Thanks <@U5375UUJ2> I'll take a look
# suitescript
n
Thanks @stalbert I'll take a look
s
There are other, simpler libraries than JSONIX but I've found JSONIX to shine where other libraries fell short. A key aspect of jsonix is freedom to choose JSON property names and how they map to XML elements and/or attributes.
the support for generating a mapping from
.xsd
files is also pretty awesome
n
Nice one thanks. I actually want something pretty simple just so I can iterate through the resulting JSON establishing which custcol / custbody fields are present and set to "show" and output these as in a text document. It's a bit of a one off to help a colleague but could be useful to expand on and develop as a tool.
s
your choice. I'd tend to just learn one tool that works for the majority of my use cases rather than simpler tools that mean learning multiple and/or replacing them
r
Does JSONIX work for NS serverside scripts?
s
that's the only place I've used it
though I can't recall if I've had to use it in SS2 yet
my main uses tend to be some form of integration API where we're receiving or sending XML on one end of the integration.
....but want the whole thing to be self-contained in NS
r
Thanks, talking note for future use.