createNumberValue static method

JsonValue createNumberValue(
  1. double input
)

Implementation

static JsonValue createNumberValue(double input) {
  final activationFactory =
      CreateActivationFactory(_className, IID_IJsonValueStatics);

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