12 2018 档案

比较两个JSON字符串是否完全相等
摘要:RT,比较两个JSON字符串是否完全相等,这里使用google贡献的Gson。一,no POJO,即不另外创建一个简单Java类[java] view plain copyString str1 = "{\"properties\":{\"packet\":{\"recorded_at\":\"20 阅读全文

posted @ 2018-12-20 10:49 小小鸟儿! 阅读(8003) 评论(0) 推荐(0)

Java FastJson 介绍
摘要:1.前言1.1.FastJson的介绍:JSON协议使用方便,越来越流行,JSON的处理器有很多,这里我介绍一下FastJson,FastJson是阿里的开源框架,被不少企业使用,是一个极其优秀的Json框架,Github地址: FastJson1.2.FastJson的特点:1.FastJson数 阅读全文

posted @ 2018-12-13 17:52 小小鸟儿! 阅读(559) 评论(0) 推荐(0)

线程池
摘要:#pragma once#ifndef THREAD_POOL_H#define THREAD_POOL_H#include <vector>#include <queue>#include <atomic>#include <future>//#include <condition_variabl 阅读全文

posted @ 2018-12-13 10:48 小小鸟儿! 阅读(263) 评论(0) 推荐(0)