Hi Jan,
I've read the example in "Java Scripting" how to write an object to the console in JSON Format. How can I write a HARA (or Hazardous Event) to the Console in JSON Format?
Sven
Hi Sven,
are you referring to an article in this board or in the web?
Anyway, here a short snippet how you could do it:
Well, I forgot the snippet. Originally I has hoped that a simple "uneval" would work but unfortunately it does not. So I remembered some experiments I did in the past with an own "uneval" function, at that time to fix some encoding issues with Rhinos uneval. Anyway, also that did not turn out to be 100% perfect, mainly because especially Hazardous Events has sub-structures. Anyway, my progress attached, not ideal but at least it shows how it could work:
Jan