Class AbstractJsonFactoryTest.ExtendsGenericJson (1.45.3)

public static class AbstractJsonFactoryTest.ExtendsGenericJson extends GenericJson

Inheritance

Object > AbstractMap > GenericData > GenericJson > AbstractJsonFactoryTest.ExtendsGenericJson

Constructors

ExtendsGenericJson()

public ExtendsGenericJson()

Methods

set(String fieldName, Object value)

public AbstractJsonFactoryTest.ExtendsGenericJson set(String fieldName, Object value)

Sets the given field value (may be null) for the given field name. Any existing value for the field will be overwritten. It may be more slightly more efficient than #put(String, Object) because it avoids accessing the field's original value.

Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.

Parameters
Name Description
fieldName String
value Object
Returns
Type Description
AbstractJsonFactoryTest.ExtendsGenericJson
Overrides