个人简介

Echo Blog


江湖无名 安心练剑
  • Json Path-另一种解析 json 的方式 jsonpath
    场景 以前工作中,习惯于将对象转换为 json。并一直感觉这种转换非常的方便。 因为借助 fastjson, gjson, jackson 等工具就是一个方法就搞定。 以前写一些数据的抓取,我也会写一大堆代码,去构建这个对象。 后来知道有 mongo 这种文档型数据库,觉得也挺方便。 但是 xml 有 xmlPath, 我为什么一直都没有想到 json 有 json path 呢?...
    2018-07-20 01:24:03 | Java
  • Json 之 MessagePack
    MessagePack MessagePack is an efficient binary serialization format. It lets you exchange data among multiple languages like JSON. But it’s faster and smaller. Small integers are encoded into a...
    2018-07-20 01:24:03 | Java
  • Json 之 Kryo
    Kryo KRyo is the Java binary serialization and cloning: fast, efficient, automatic. Kryo is a fast and efficient binary object graph serialization framework for Java. The goals of the project ar...
    2018-07-20 01:24:03 | Java
  • Json 之 Jboss Marshaling
    About JBoss Marshalling JBoss Marshalling is an alternative serialization API that fixes many of the problems found in the JDK serialization API while remaining fully compatible with java.io.Seria...
    2018-07-20 01:24:03 | Java
  • Json 之 Hession
    Hessian 概念 Hessian是一个动态类型,二进制序列化,也是网络协议为了对象的定向传输。 优点 Hessian二进制的网络协议使不需要引入大型框架下就可以使用,并且不需要学习其它的入门的协议。 因为它是二进制协议,它更擅长于发送二进制数据,而不需要引入其它附件去扩展它的协议。 Hessian支持很多种语言,例如Java,Flash/Flex,python,c++,.ne...
    2018-07-20 01:24:03 | Java
  • Google Protocol Buffer
    Google Protocol Buffer Protocol Buffers are Google’s language-neutral, platform-neutral, extensible mechanism for serializing structured data. 优点 protobuf是google提供的一个开源序列化框架,类似于XML,JSON这样的数据表示语...
    2018-07-20 01:24:03 | Tool
  • Json 之 JsonIter
    JsonIter jsoniter(json-iterator)是一款快且灵活的 JSON 解析器,同时提供 Java 和 Go 两个版本。 从 dsljson 和 jsonparser 借鉴了大量代码。 性能对比 主流的 JSON 解析器是非常慢的。 Jsoniter Java 版本可以比常用的 jackson/gson/fastjson 快 3 倍。 如果你需要处理大量的 J...
    2018-07-20 01:24:03 | Java
  • Json 之 Jackson
    jackson jackson is a suite of data-processing tools for Java (and the JVM platform), including the flagship streaming JSON parser / generator library, matching data-binding library (POJOs to and f...
    2018-07-20 01:24:03 | Java