JmesPath.Net:.NetCore的JMESPATH的完全兼容实现

时间:2021-05-23 05:14:44
【文件属性】:
文件名称:JmesPath.Net:.NetCore的JMESPATH的完全兼容实现
文件大小:975KB
文件格式:ZIP
更新时间:2021-05-23 05:14:44
C# JmesPath.Net .Net Core的完全兼容实现。 入门 使用解析器 JmesPath.Net使用处理并带有一个易于使用的解析器: using DevLab . JmesPath ; const string input = @" { \ " foo \ " : \" bar \" } " ; const string expression = " foo " ; var jmes = new JmesPath (); var result = jmes . Transform ( input , expression ); JmesPath.Transform方法接受并生成格式良好的JSON构造(对象,数组或字符串,布尔值,数字和null值)。 在上面的示例中, result是一个JSON字符串令牌,包括引号。 using Newtonsoft . Json . Li

网友评论