JSON对象的一致消息摘要
此模块根据给定的JSON数据创建结构化的摘要,以进行一致的消息摘要计算。 摘要计算的步骤如下所述。
支持的编程语言
Python
版本3.5或更高版本
安装模块
pip install json-structure-digest
将模块导入程序中
from jsondigest import digest
命令行工具
json_digest.py
Java脚本
环境
Nodejs 0.10或更高版本
浏览器(chrome,firefox,safari,edge)
安装模块
yarn add json-structure-digest
或者
npm install json-structure-digest
在脚本中导入模块
import { digest } from json - structure - digest
要求
JSON字符串必须符合
评论0
最新资源