Comments (4)
Could somebody review/add functionality?
70d69
< public static final String OMIT_NULL_FIELDS = "OMIT_NULL_FIELDS"; // If set, then @type -> @t, @keys -> @k, @Items -> @i
88d86
< private boolean omitNullFields = false;
273d270
< omitNullFields = isTrue(args.get(OMIT_NULL_FIELDS));
2052a2050,2051
writeJsonUtf8String(fieldName, out); out.write(':');
2064,2071c2063,2065
< if (o == null )
< {
< if (!omitNullFields) {
< writeJsonUtf8String(fieldName, out);
< out.write(':');
< // don't quote null
< out.write("null");< }
if (o == null) { // don't quote null out.write("null");
2074,2076d2067
<
< writeJsonUtf8String(fieldName, out);
< out.write(':');
from json-io.
Looking into your request. I believe I can get this implemented quickly. Perhaps have a release available within 1 week.
from json-io.
Hi, it sounds great!
This will be a really excellent feature
Отправлено из Mail.Ru для Android воскресенье, 31 января 2016г., 08:43 +03:00 от Cedar Software < [email protected]> :
Looking into your request. I believe I can get this implemented quickly. Perhaps have a release available within 1 week.
—
Reply to this email directly or view it on GitHub .
from json-io.
This has been implemented and released in json-io 4.3.1.
from json-io.
Related Issues (20)
- serialize java Hashmap HOT 7
- json-io not working on Android 10 HOT 1
- Illegal reflective access HOT 1
- Regression negative number from Lenient HOT 2
- ClassCastException HOT 2
- How avoid print, the ""@type":"com.company.Main$Foo"" ? HOT 1
- Is there a way to avoid ClassCastException without using @type fields on a JSON object? HOT 7
- Deserialization of records doesn't work in Java15 HOT 1
- Why? HOT 1
- Could not instantiate m.Store.jedison.JedisonMessageProductImageDownload using any constructor HOT 2
- java.lang primitives serialization - JDK-8256358 - JDK 17 support HOT 12
- Enum serialization error with Java 17 HOT 4
- Error in JsonWriter.formatJson() for enum HOT 2
- Provide feature to serializer only fields having given access modifier HOT 5
- Unmarshalling of provided XMLGregorianCalendar implementation class HOT 2
- inputStream is closed by JsonReader.jsonToJava(inputStream) HOT 2
- Question: how-to serialize Hibernate (proxy) objects HOT 1
- Java 17 UUID can no longer be serialized and deserialized correctly HOT 6
- Map<String, Object> typed serialization broken for Integer HOT 1
- Stack overflow error caused by json-io parsing of untrusted JSON String HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from json-io.