tryParse static method

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

Implementation

static bool tryParse(String input, JsonValue result) {
  final activationFactory =
      CreateActivationFactory(_className, IID_IJsonValueStatics);

  try {
    return IJsonValueStatics.fromRawPointer(activationFactory)
        .tryParse(input, result);
  } finally {
    free(activationFactory);
  }
}