Java库,用于在JSON文件中搜索文本 [英] Java library for searching text in JSON file

查看:80
本文介绍了Java库,用于在JSON文件中搜索文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在一个大的JSON文件中搜索给定的关键字.有人知道一个Java库吗?

I would like to search after a given keyword in a big JSON file. Does anybody know a java library for this?

推荐答案

Gson 可以帮助您轻松解析json文件.

Gson could help you to parse the json file easily.

与许多其他JSON库不同, Gson支持流传输,这意味着您可以检查文件一小块.

Unlike many other JSON libraries, Gson supports streaming which means you can examine the file in small chunks.

这篇关于Java库,用于在JSON文件中搜索文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆