myconsciousness / json-formatter Goto Github PK
View Code? Open in Web Editor NEWLightweight, Extensible and Flexible formatter for JSON based on Java.
Home Page: https://myconsciousness.github.io/json-formatter/
License: Apache License 2.0
Lightweight, Extensible and Flexible formatter for JSON based on Java.
Home Page: https://myconsciousness.github.io/json-formatter/
License: Apache License 2.0
JSON文字列中の全角スペースが除去できていないので修正する。
カタログ Whitespace.java
に全角スペースを追加することで実現可能。
Jsonを整形する機能を作成する。
基本的な構成パッケージは org.thinkit.formatter
とする。
content-framework
のバグを調査していたところ、jar
の中に格納されたコンテンツファイルが文字化けしていることが判明した。この状態だと動的に jar
内のコンテンツファイルを取得することができないためコンテンツファイルは和名から英名に修正する。
jar
に格納されたコンテンツファイル名が文字化けしていることによって処理中で jar
に格納されたコンテンツファイルを取得することができない。
現状は },
後の改行インデント数はその時点まででインクリメントされた値を使用しているため無駄なスペースが挿入されてしまう。
そのため、},
後かつ次の {
までに改行を1つ以上挿入する場合はインデントが 0
の改行を挿入するように修正する。
JSONの整形方式に関しては JSONObject.toString(int indemtFactor)
を使用する。
また、上記のソースコードを解析し内製化を進めたい。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.