java.lang.Object
ortus.boxlang.runtime.bifs.BIF
ortus.boxlang.runtime.bifs.global.decision.IsJSON

@BoxBIF public class IsJSON extends BIF
  • Constructor Details

    • IsJSON

      public IsJSON()
      Constructor
  • Method Details

    • _invoke

      public Object _invoke(IBoxContext context, ArgumentsScope arguments)
      Evaluates whether a string is in valid JSON (JavaScript Object Notation) data interchange format.
      Specified by:
      _invoke in class BIF
      Parameters:
      context - The context in which the BIF is being invoked.
      arguments - Argument scope defining the value to test.
      Returns:
      The result of the invocation