个人工具

“沙盒”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第1行: 第1行:
1) 仅使用JDK, 不依赖任何第三方的包,完成JSON的parse和format.
+
json parse and format.
  
2) 对于JSON的parse/format, 需要支持基于流的输入和输出。即从一个文件解析出一个JSON对象, 以及把一个JSON对象输出到文件。
+
read a file with json format from a specified path; parse it to a json object; format the json to another file.
  
3) 考虑对于一个大型JSON对象, 比如文件超过500M, 在基于流的解析和格式化时,如何减少内存消耗并提高性能。
+
> 500M file.
 
+
4) 性能方面, 和业界最快的实现FastJSON,进行比较。
+
 
+
5) 设计文档
+

2016年11月3日 (四) 19:22的版本

json parse and format.

read a file with json format from a specified path; parse it to a json object; format the json to another file.

> 500M file.