Class JsonPropertyAccessor

java.lang.Object
org.springframework.integration.json.JsonPropertyAccessor
All Implemented Interfaces:
PropertyAccessor, TargetedAccessor

@Deprecated(forRemoval=true, since="7.0") public class JsonPropertyAccessor extends Object implements PropertyAccessor
Deprecated, for removal: This API element is subject to removal in a future version.
Since 7.0 in favor of JacksonPropertyAccessor for Jackson 3.
A SpEL PropertyAccessor that knows how to read properties from JSON objects.

Uses Jackson JsonNode API for nested properties access.

Since:
3.0
Author:
Eric Bottard, Artem Bilan, Paul Martin, Gary Russell, Pierre Lakreb, Vladislav Fefelov, Sam Brannen
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canRead(EvaluationContext context, Object target, String name)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    canWrite(EvaluationContext context, Object target, String name)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Class<?>[]
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    read(EvaluationContext context, @Nullable Object target, String name)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static Object
    wrap(com.fasterxml.jackson.databind.JsonNode json)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    write(EvaluationContext context, Object target, String name, Object newValue)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JsonPropertyAccessor

      public JsonPropertyAccessor()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details