它的语法很简单。
For this simple example, the grammar is a basic pick list of drinks; that is, the user can say one of "coffee," "tea," "milk," "soda," or the word "nothing."
对于这个简单的示例,语法是一个基本的饮料挑选列表;也就是说,用户可以说出“coffee”、“tea”、“milk”、“soda”的其中之一,也可以说“nothing”这个词。
Since the grammar of JSON is fairly simple, you can implement such a parser easily without any noticeable performance difference.
由于JSON的语法相当的简单,您可以轻易地实现这种解析器,而不会带来显著的性能差异。
应用推荐