/* More details for reference count strategy can refer to the API description for  */
EDKII_JSON_VALUE EFIAPI JsonValueInitUnicodeString(IN CHAR16 *String)
/* More details for reference count strategy can refer to the API description for  */
EDKII_JSON_VALUE EFIAPI JsonValueInitUnicodeString(IN CHAR16 *String)
{
  EFI_STATUS  Status;
  CHAR8       *Utf8Str;
  if (String == NULL) {
    return NULL;
  }
  Utf8Str = NULL;
  Status  = UCS2StrToUTF8 (String, &Utf8Str);
  if (EFI_ERROR (Status)) {
    return NULL;
  }
  return (EDKII_JSON_VALUE)json_string (Utf8Str);
}