createStringValue static method

JsonValue createStringValue(
  1. String input
)

Implementation

static JsonValue createStringValue(String input) {
  final activationFactory =
      CreateActivationFactory(_className, IID_IJsonValueStatics);

  try {
    return IJsonValueStatics.fromRawPointer(activationFactory)
        .createStringValue(input);
  } finally {
    free(activationFactory);
  }
}