Skip to main content
1-Visitor
January 20, 2015
Question

Has anyone successfully included the JSON parser in trigger scripts?

  • January 20, 2015
  • 1 reply
  • 1666 views

I'm wondering if anyone has found a way to include the JSON parser in trigger scripts... Or maybe if Integrity already has a method of including the JSON parser in trigger scripts.

I've included different versions of the source for JSON in scripts and they are thrown out by the compiler for reasons unknown.

    1 reply

    21-Topaz I
    January 20, 2015

    Hi Sean,

    I don't think that is possible, given the current version of the Rhino Javascript engine shipped with Integrity (1.5R2). If this internet forum post is to be believed, apparently a native JSON parser was introduced in 1.7R3.

    See article CS92020 which requests that Integrity ship with a newer version of Rhino.

    1-Visitor
    January 20, 2015

    Thanks, Joe. I'll enter a case number to include us on an RFC for tihs.