随笔分类 -  JSON

摘要:Java处理JSON数据有三个比较流行的类库FastJSON、Gson和Jackson。本文将测试这三个类库在JSON序列化和反序列化的方面表现,主要测试JSON序列化和反序列化的速度。为了防止由于内存导致测试结果出现偏差,测试中对JVM内存配置-Xmx4g -Xms4g。 JSON序列化(Obje 阅读全文
posted @ 2018-03-12 20:40 大数据从业者FelixZh 阅读(13086) 评论(0) 推荐(1) 编辑
摘要:// MIT License // // Copyright (c) 2016 Michel Kraemer // Copyright (c) 2005 JSON.org // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associ... 阅读全文
posted @ 2017-02-09 14:18 大数据从业者FelixZh 阅读(405) 评论(0) 推荐(0) 编辑
摘要:/* JSON_checker.h */ typedef struct JSON_checker_struct { int valid; int state; int depth; int top; int* stack; } * JSON_checker; extern JSON_checker new_JSON_checker(int depth... 阅读全文
posted @ 2017-02-09 14:16 大数据从业者FelixZh 阅读(398) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示