question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hello. I’m currently working on a library for Android which requires JSON parsing. My requirements are: — small methods count (DEX limit); — small bytecode size (smaller APK and faster verification); — high parsing speed.

I totally like your parser. I’ve took your streaming code, removed <T> parsing, Any type, and some other unused stuff; inlined one-liners. My result is <50 methods and 10.8 KB DEX 😃

I think it makes sense to move streaming to another module/artifact so those who need only streaming may use it without other parser parts.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
taowencommented, Mar 5, 2018

@Miha-x64 https://github.com/json-iterator/java-core invited you to host the development

1reaction
Miha-x64commented, Mar 3, 2018

Sadly, Android requires 1.6 bytecode, and this parser is very helpful there since org.json, embedded in Android, totally sucks.

You can just add module-info into your JAR.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Modularization in Software Engineering | by Caitlin Jee
Modularization is the process of separating the functionality of a program into independent, interchangeable modules, such that each ...
Read more >
MODULARIZATION definition | Cambridge English Dictionary
the design or production of something in separate sections: We need better modularization because at the moment you need to install the whole ......
Read more >
Modularization - an overview | ScienceDirect Topics
Modularization concerns the logical partitioning of a software design so that the design becomes easy to understand and maintain.
Read more >
Guide to Android app modularization
Modularization is a practice of organizing a codebase into loosely coupled and self contained parts. Each part is a module.
Read more >
What is Modularization in Java? - Xperti
In general, modularization means to construct something in different parts or modules. The primary reason for modularization is to make ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found