public class JsonSerializerOptions extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Text.Json.JsonSerializerOptions
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Text.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.Text.Json
|
static java.lang.String |
className
Qualified class name: System.Text.Json.JsonSerializerOptions
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
JsonSerializerOptions()
Initializes a new instance by invoking the .NET constructor.
|
JsonSerializerOptions(JsonSerializerDefaults defaults)
Initializes a new instance by invoking the .NET constructor.
|
JsonSerializerOptions(JsonSerializerOptions options)
Initializes a new instance by invoking the .NET constructor.
|
JsonSerializerOptions(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
<TContext extends IJCOBridgeReflected> |
AddContext()
Invokes the .NET member AddContext.
|
static JsonSerializerOptions |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into JsonSerializerOptions, a cast assert is made to check if types are compatible. |
boolean |
getAllowTrailingCommas()
Gets the value of the .NET property AllowTrailingCommas.
|
JsonConverter |
GetConverter(NetType typeToConvert)
Invokes the .NET member GetConverter.
|
IList_1 |
getConverters()
Gets the value of the .NET property Converters.
|
static JsonSerializerOptions |
getDefault()
Gets the value of the .NET property Default.
|
int |
getDefaultBufferSize()
Gets the value of the .NET property DefaultBufferSize.
|
JsonIgnoreCondition |
getDefaultIgnoreCondition()
Gets the value of the .NET property DefaultIgnoreCondition.
|
JsonNamingPolicy |
getDictionaryKeyPolicy()
Gets the value of the .NET property DictionaryKeyPolicy.
|
JavaScriptEncoder |
getEncoder()
Gets the value of the .NET property Encoder.
|
boolean |
getIgnoreNullValues()
Gets the value of the .NET property IgnoreNullValues.
|
boolean |
getIgnoreReadOnlyFields()
Gets the value of the .NET property IgnoreReadOnlyFields.
|
boolean |
getIgnoreReadOnlyProperties()
Gets the value of the .NET property IgnoreReadOnlyProperties.
|
boolean |
getIncludeFields()
Gets the value of the .NET property IncludeFields.
|
boolean |
getIsReadOnly()
Gets the value of the .NET property IsReadOnly.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
int |
getMaxDepth()
Gets the value of the .NET property MaxDepth.
|
JsonNumberHandling |
getNumberHandling()
Gets the value of the .NET property NumberHandling.
|
JsonObjectCreationHandling |
getPreferredObjectCreationHandling()
Gets the value of the .NET property PreferredObjectCreationHandling.
|
boolean |
getPropertyNameCaseInsensitive()
Gets the value of the .NET property PropertyNameCaseInsensitive.
|
JsonNamingPolicy |
getPropertyNamingPolicy()
Gets the value of the .NET property PropertyNamingPolicy.
|
JsonCommentHandling |
getReadCommentHandling()
Gets the value of the .NET property ReadCommentHandling.
|
ReferenceHandler |
getReferenceHandler()
Gets the value of the .NET property ReferenceHandler.
|
JsonTypeInfo |
GetTypeInfo(NetType type)
Invokes the .NET member GetTypeInfo.
|
IJsonTypeInfoResolver |
getTypeInfoResolver()
Gets the value of the .NET property TypeInfoResolver.
|
IList_1 |
getTypeInfoResolverChain()
Gets the value of the .NET property TypeInfoResolverChain.
|
JsonUnknownTypeHandling |
getUnknownTypeHandling()
Gets the value of the .NET property UnknownTypeHandling.
|
JsonUnmappedMemberHandling |
getUnmappedMemberHandling()
Gets the value of the .NET property UnmappedMemberHandling.
|
boolean |
getWriteIndented()
Gets the value of the .NET property WriteIndented.
|
void |
MakeReadOnly()
Invokes the .NET member MakeReadOnly.
|
void |
MakeReadOnly(boolean populateMissingResolver)
Invokes the .NET member MakeReadOnly.
|
void |
setAllowTrailingCommas(boolean AllowTrailingCommas)
Sets the value of the .NET property AllowTrailingCommas.
|
void |
setDefaultBufferSize(int DefaultBufferSize)
Sets the value of the .NET property DefaultBufferSize.
|
void |
setDefaultIgnoreCondition(JsonIgnoreCondition DefaultIgnoreCondition)
Sets the value of the .NET property DefaultIgnoreCondition.
|
void |
setDictionaryKeyPolicy(JsonNamingPolicy DictionaryKeyPolicy)
Sets the value of the .NET property DictionaryKeyPolicy.
|
void |
setEncoder(JavaScriptEncoder Encoder)
Sets the value of the .NET property Encoder.
|
void |
setIgnoreNullValues(boolean IgnoreNullValues)
Sets the value of the .NET property IgnoreNullValues.
|
void |
setIgnoreReadOnlyFields(boolean IgnoreReadOnlyFields)
Sets the value of the .NET property IgnoreReadOnlyFields.
|
void |
setIgnoreReadOnlyProperties(boolean IgnoreReadOnlyProperties)
Sets the value of the .NET property IgnoreReadOnlyProperties.
|
void |
setIncludeFields(boolean IncludeFields)
Sets the value of the .NET property IncludeFields.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setMaxDepth(int MaxDepth)
Sets the value of the .NET property MaxDepth.
|
void |
setNumberHandling(JsonNumberHandling NumberHandling)
Sets the value of the .NET property NumberHandling.
|
void |
setPreferredObjectCreationHandling(JsonObjectCreationHandling PreferredObjectCreationHandling)
Sets the value of the .NET property PreferredObjectCreationHandling.
|
void |
setPropertyNameCaseInsensitive(boolean PropertyNameCaseInsensitive)
Sets the value of the .NET property PropertyNameCaseInsensitive.
|
void |
setPropertyNamingPolicy(JsonNamingPolicy PropertyNamingPolicy)
Sets the value of the .NET property PropertyNamingPolicy.
|
void |
setReadCommentHandling(JsonCommentHandling ReadCommentHandling)
Sets the value of the .NET property ReadCommentHandling.
|
void |
setReferenceHandler(ReferenceHandler ReferenceHandler)
Sets the value of the .NET property ReferenceHandler.
|
void |
setTypeInfoResolver(IJsonTypeInfoResolver TypeInfoResolver)
Sets the value of the .NET property TypeInfoResolver.
|
void |
setUnknownTypeHandling(JsonUnknownTypeHandling UnknownTypeHandling)
Sets the value of the .NET property UnknownTypeHandling.
|
void |
setUnmappedMemberHandling(JsonUnmappedMemberHandling UnmappedMemberHandling)
Sets the value of the .NET property UnmappedMemberHandling.
|
void |
setWriteIndented(boolean WriteIndented)
Sets the value of the .NET property WriteIndented.
|
boolean |
TryGetTypeInfo(NetType type,
JCORefOut<JsonTypeInfo> typeInfo)
Invokes the .NET member TryGetTypeInfo.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public JsonSerializerOptions()
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException
java.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic JsonSerializerOptions(JsonSerializerDefaults defaults) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException
defaults - the argument of type JsonSerializerDefaultsjava.lang.Throwable - if the .NET constructor failsNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic JsonSerializerOptions(JsonSerializerOptions options) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
options - the argument of type JsonSerializerOptionsjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic JsonSerializerOptions(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic <TContext extends IJCOBridgeReflected> void AddContext() throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, NotSupportedException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
TContext - the type of the generic argument TContextjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotSupportedException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static JsonSerializerOptions cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into JsonSerializerOptions, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedJsonSerializerOptions instancejava.lang.Throwable - in case of error during cast operationpublic boolean getAllowTrailingCommas()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic JsonConverter GetConverter(NetType typeToConvert) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, OutOfMemoryException, MethodAccessException, MissingMethodException, MemberAccessException, TargetInvocationException, KeyNotFoundException
typeToConvert - the argument of type NetTypejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itMethodAccessException - if the .NET member raises itMissingMethodException - if the .NET member raises itMemberAccessException - if the .NET member raises itTargetInvocationException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic IList_1 getConverters() throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, ArgumentOutOfRangeException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic static JsonSerializerOptions getDefault() throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic int getDefaultBufferSize()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic JsonIgnoreCondition getDefaultIgnoreCondition() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic JsonNamingPolicy getDictionaryKeyPolicy() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic JavaScriptEncoder getEncoder() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIgnoreNullValues()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIgnoreReadOnlyFields()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIgnoreReadOnlyProperties()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIncludeFields()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsReadOnly()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic int getMaxDepth()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic JsonNumberHandling getNumberHandling() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic JsonObjectCreationHandling getPreferredObjectCreationHandling() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getPropertyNameCaseInsensitive()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic JsonNamingPolicy getPropertyNamingPolicy() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic JsonCommentHandling getReadCommentHandling() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic ReferenceHandler getReferenceHandler() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic JsonTypeInfo GetTypeInfo(NetType type) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, KeyNotFoundException
type - the argument of type NetTypejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic IJsonTypeInfoResolver getTypeInfoResolver() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic IList_1 getTypeInfoResolverChain() throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic JsonUnknownTypeHandling getUnknownTypeHandling() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic JsonUnmappedMemberHandling getUnmappedMemberHandling() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getWriteIndented()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void MakeReadOnly()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void MakeReadOnly(boolean populateMissingResolver)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
EventSourceException,
ArrayTypeMismatchException
populateMissingResolver - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itEventSourceException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void setAllowTrailingCommas(boolean AllowTrailingCommas)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException
AllowTrailingCommas - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setDefaultBufferSize(int DefaultBufferSize)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException
DefaultBufferSize - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setDefaultIgnoreCondition(JsonIgnoreCondition DefaultIgnoreCondition) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
DefaultIgnoreCondition - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setDictionaryKeyPolicy(JsonNamingPolicy DictionaryKeyPolicy) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
DictionaryKeyPolicy - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setEncoder(JavaScriptEncoder Encoder) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
Encoder - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setIgnoreNullValues(boolean IgnoreNullValues)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException
IgnoreNullValues - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setIgnoreReadOnlyFields(boolean IgnoreReadOnlyFields)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException
IgnoreReadOnlyFields - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setIgnoreReadOnlyProperties(boolean IgnoreReadOnlyProperties)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException
IgnoreReadOnlyProperties - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setIncludeFields(boolean IncludeFields)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException
IncludeFields - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void setMaxDepth(int MaxDepth)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException
MaxDepth - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setNumberHandling(JsonNumberHandling NumberHandling) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
NumberHandling - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setPreferredObjectCreationHandling(JsonObjectCreationHandling PreferredObjectCreationHandling) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
PreferredObjectCreationHandling - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setPropertyNameCaseInsensitive(boolean PropertyNameCaseInsensitive)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException
PropertyNameCaseInsensitive - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setPropertyNamingPolicy(JsonNamingPolicy PropertyNamingPolicy) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
PropertyNamingPolicy - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setReadCommentHandling(JsonCommentHandling ReadCommentHandling) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
ReadCommentHandling - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setReferenceHandler(ReferenceHandler ReferenceHandler) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
ReferenceHandler - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setTypeInfoResolver(IJsonTypeInfoResolver TypeInfoResolver) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, IndexOutOfRangeException, RankException, ArrayTypeMismatchException
TypeInfoResolver - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void setUnknownTypeHandling(JsonUnknownTypeHandling UnknownTypeHandling) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
UnknownTypeHandling - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setUnmappedMemberHandling(JsonUnmappedMemberHandling UnmappedMemberHandling) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException
UnmappedMemberHandling - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic void setWriteIndented(boolean WriteIndented)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
InvalidOperationException
WriteIndented - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic boolean TryGetTypeInfo(NetType type, JCORefOut<JsonTypeInfo> typeInfo) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, FormatException, KeyNotFoundException
type - the argument of type NetTypetypeInfo - the argument of type JCORefOut<JsonTypeInfo>java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itKeyNotFoundException - if the .NET member raises it