Uses of Package
net.sf.json.util
-
Packages that use net.sf.json.util Package Description net.sf.json The core of the librarynet.sf.json.filters Support for custom serializationnet.sf.json.util Miscelaneous utilities -
Classes in net.sf.json.util used by net.sf.json Class Description CycleDetectionStrategy Base class for cycle detection in a hierarchy.
The JSON spec forbides cycles in a hierarchy and most parsers will raise and error when a cycle is detected.JavaIdentifierTransformer Transforms a string into a valid Java identifier.
There are five predefined strategies: NOOP: does not perform transformation. CAMEL_CASE: follows the camel case convention, deletes non JavaIndentifierPart chars. UNDERSCORE: transform whitespace and non JavaIdentifierPart chars to '_'. WHITESPACE: deletes whitespace and non JavaIdentifierPart chars. STRICT: always throws a JSONException, does not perform transformation.JsonEventListener Defines the contract to handle JsonEvents when building an object or array.NewBeanInstanceStrategy Base class for creating Bean instances.
DEFAULT - calls Class.newInstance().PropertyExclusionClassMatcher Base class for finding a matching property exlucsion.
DEFAULT - matches the target class with equals().PropertyFilter PropertySetStrategy Defines a custom setter to be used when setting object values.
Specify with JsonConfig.setJsonPropertySetter(). -
Classes in net.sf.json.util used by net.sf.json.filters Class Description PropertyFilter -
Classes in net.sf.json.util used by net.sf.json.util Class Description CycleDetectionStrategy Base class for cycle detection in a hierarchy.
The JSON spec forbides cycles in a hierarchy and most parsers will raise and error when a cycle is detected.JavaIdentifierTransformer Transforms a string into a valid Java identifier.
There are five predefined strategies: NOOP: does not perform transformation. CAMEL_CASE: follows the camel case convention, deletes non JavaIndentifierPart chars. UNDERSCORE: transform whitespace and non JavaIdentifierPart chars to '_'. WHITESPACE: deletes whitespace and non JavaIdentifierPart chars. STRICT: always throws a JSONException, does not perform transformation.JSONBuilder JSONBuilder provides a quick and convenient way of producing JSON text.NewBeanInstanceStrategy Base class for creating Bean instances.
DEFAULT - calls Class.newInstance().PropertyExclusionClassMatcher Base class for finding a matching property exlucsion.
DEFAULT - matches the target class with equals().PropertySetStrategy Defines a custom setter to be used when setting object values.
Specify with JsonConfig.setJsonPropertySetter().WebHijackPreventionStrategy Defines base implementations for preventing WebHijack in AJAX applications.