Skip to main content
1-Visitor
Jan 20, 2015 2:51 PM UTC
Question

Has anyone successfully included the JSON parser in trigger scripts?

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.

    2 replies

    21-Topaz I
    Jan 20, 2015 6:30 PM UTC

    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.

    Translate
    1-Visitor
    Jan 20, 2015 6:33 PM UTC

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

    Translate