tryParse static method

bool tryParse(
  1. String input,
  2. JsonValue result
)

Implementation

static bool tryParse(String input, JsonValue result) {
  final activationFactoryPtr =
      CreateActivationFactory(_className, IID_IJsonValueStatics);
  final object = IJsonValueStatics.fromRawPointer(activationFactoryPtr);

  try {
    return object.tryParse(input, result);
  } finally {
    object.release();
  }
}