Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jsonp-dev] Write empty Json arrays

(Here goes nothing)

 

Hi All,

Is there a configuration param like WRITE_EMPTY_JSON_ARRAYS [1] to obtain this jsonp behaviour of v1.1? 

 

javax.json-1.1.jar

"requestAttributes": {"entityAttribute": []}

 

javax.json-1.1.4.jar

"requestAttributes": {}

 

Note this feature is enabled by default in jackson-databind

 

[1] https://www.javadoc.io/doc/com.fasterxml.jackson.core/jackson-databind/2.6.7/com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_EMPTY_JSON_ARRAYS

 


Back to the top