azure-docs-sdk-java/docs-ref-autogen/com.microsoft.cognitiveserv...

186 строки
11 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.cognitiveservices.speech.util.JsonBuilder"
fullName: "com.microsoft.cognitiveservices.speech.util.JsonBuilder"
name: "JsonBuilder"
nameWithType: "JsonBuilder"
summary: "The type Json builder."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public class **JsonBuilder**</br> implements <xref href=\"java.lang.AutoCloseable?alt=java.lang.AutoCloseable&text=AutoCloseable\" data-throw-if-not-resolved=\"False\" />"
constructors:
- uid: "com.microsoft.cognitiveservices.speech.util.JsonBuilder.JsonBuilder()"
fullName: "com.microsoft.cognitiveservices.speech.util.JsonBuilder.JsonBuilder()"
name: "JsonBuilder()"
nameWithType: "JsonBuilder.JsonBuilder()"
summary: "Instantiates a new Json builder."
syntax: "public JsonBuilder()"
desc: "Instantiates a new Json builder."
- uid: "com.microsoft.cognitiveservices.speech.util.JsonBuilder.JsonBuilder(com.microsoft.cognitiveservices.speech.util.SafeHandle,int)"
fullName: "com.microsoft.cognitiveservices.speech.util.JsonBuilder.JsonBuilder(SafeHandle handle, int root)"
name: "JsonBuilder(SafeHandle handle, int root)"
nameWithType: "JsonBuilder.JsonBuilder(SafeHandle handle, int root)"
summary: "Instantiates a new Json builder."
parameters:
- description: "the handle"
name: "handle"
type: "<xref href=\"com.microsoft.cognitiveservices.speech.util.SafeHandle?alt=com.microsoft.cognitiveservices.speech.util.SafeHandle&text=SafeHandle\" data-throw-if-not-resolved=\"False\" />"
- name: "root"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonBuilder(SafeHandle handle, int root)"
desc: "Instantiates a new Json builder."
fields:
- uid: "com.microsoft.cognitiveservices.speech.util.JsonBuilder.root"
fullName: "com.microsoft.cognitiveservices.speech.util.JsonBuilder.root"
name: "root"
nameWithType: "JsonBuilder.root"
field:
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
syntax: "public int root"
methods:
- uid: "com.microsoft.cognitiveservices.speech.util.JsonBuilder.addItem(int,int,java.lang.String)"
fullName: "com.microsoft.cognitiveservices.speech.util.JsonBuilder.addItem(int item, int index, String find)"
name: "addItem(int item, int index, String find)"
nameWithType: "JsonBuilder.addItem(int item, int index, String find)"
summary: "Adds an item to the specified ajv item"
parameters:
- description: "the specified ajv item to add to"
name: "item"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- description: "the index to add the new item at"
name: "index"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- description: "the json key to associate with the new item"
name: "find"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public int addItem(int item, int index, String find)"
desc: "Adds an item to the specified ajv item"
returns:
description: "the ajv item added"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.util.JsonBuilder.close()"
fullName: "com.microsoft.cognitiveservices.speech.util.JsonBuilder.close()"
name: "close()"
nameWithType: "JsonBuilder.close()"
summary: "Close"
syntax: "public void close()"
exceptions:
- description: "will throw if private handle.close fails."
type: "<xref href=\"java.lang.Exception?alt=java.lang.Exception&text=Exception\" data-throw-if-not-resolved=\"False\" />"
desc: "Close"
- uid: "com.microsoft.cognitiveservices.speech.util.JsonBuilder.setBoolean(int,boolean)"
fullName: "com.microsoft.cognitiveservices.speech.util.JsonBuilder.setBoolean(int item, boolean value)"
name: "setBoolean(int item, boolean value)"
nameWithType: "JsonBuilder.setBoolean(int item, boolean value)"
summary: "Sets the boolean of the specified ajv item"
parameters:
- description: "the specified ajv item to set the value of"
name: "item"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- description: "the boolean value to associate with the item"
name: "value"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
syntax: "public int setBoolean(int item, boolean value)"
desc: "Sets the boolean of the specified ajv item"
returns:
description: "HR indicating success or failure"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.util.JsonBuilder.setDouble(int,double)"
fullName: "com.microsoft.cognitiveservices.speech.util.JsonBuilder.setDouble(int item, double value)"
name: "setDouble(int item, double value)"
nameWithType: "JsonBuilder.setDouble(int item, double value)"
summary: "Sets the double of the specified ajv item"
parameters:
- description: "the specified ajv item to set the value of"
name: "item"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- description: "the double value to associate with the item"
name: "value"
type: "<xref href=\"double?alt=double&text=double\" data-throw-if-not-resolved=\"False\" />"
syntax: "public int setDouble(int item, double value)"
desc: "Sets the double of the specified ajv item"
returns:
description: "HR indicating success or failure"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.util.JsonBuilder.setInteger(int,int)"
fullName: "com.microsoft.cognitiveservices.speech.util.JsonBuilder.setInteger(int item, int integer)"
name: "setInteger(int item, int integer)"
nameWithType: "JsonBuilder.setInteger(int item, int integer)"
summary: "Sets the integer of the specified ajv item"
parameters:
- description: "the specified ajv item to set the value of"
name: "item"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- description: "the integer value to associate with the item"
name: "integer"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
syntax: "public int setInteger(int item, int integer)"
desc: "Sets the integer of the specified ajv item"
returns:
description: "HR indicating success or failure"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.util.JsonBuilder.setJson(int,java.lang.String)"
fullName: "com.microsoft.cognitiveservices.speech.util.JsonBuilder.setJson(int item, String json)"
name: "setJson(int item, String json)"
nameWithType: "JsonBuilder.setJson(int item, String json)"
summary: "Sets the json of the specified ajv item"
parameters:
- description: "the specified ajv item to set the value of"
name: "item"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- description: "the json value to associate with the item"
name: "json"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public int setJson(int item, String json)"
desc: "Sets the json of the specified ajv item"
returns:
description: "HR indicating success or failure"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.util.JsonBuilder.setString(int,java.lang.String)"
fullName: "com.microsoft.cognitiveservices.speech.util.JsonBuilder.setString(int item, String str)"
name: "setString(int item, String str)"
nameWithType: "JsonBuilder.setString(int item, String str)"
summary: "Sets the string of the specified ajv item"
parameters:
- description: "the specified ajv item to set the value of"
name: "item"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- description: "the string value to associate with the item"
name: "str"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public int setString(int item, String str)"
desc: "Sets the string of the specified ajv item"
returns:
description: "HR indicating success or failure"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.cognitiveservices.speech.util.JsonBuilder.toString()"
fullName: "com.microsoft.cognitiveservices.speech.util.JsonBuilder.toString()"
name: "toString()"
nameWithType: "JsonBuilder.toString()"
summary: "Returns the string representation of the json."
overridden: "java.lang.Object.toString()"
syntax: "public String toString()"
desc: "Returns the string representation of the json."
returns:
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The type Json builder."
implements:
- "<xref href=\"java.lang.AutoCloseable?alt=java.lang.AutoCloseable&text=AutoCloseable\" data-throw-if-not-resolved=\"False\" />"
metadata: {}
package: "com.microsoft.cognitiveservices.speech.util"
artifact: com.microsoft.cognitiveservices.speech:client-sdk:1.38.0