If the list of items has only one entry, then the JSON produced will not have square brackets () and you must do some special handling.
如果条目列表中只有一项,那么生成的JSON将没有方括号(),而您必须对其做一些特殊处理。
However, a slash or a double slash ( / or // ) at the front of a predicate in square brackets does not have a context and therefore refers to the root of the document.
但是,方括号中谓词前的单斜线或双斜线(/ 或 //)没有上下文,所以引用到文档的根。
Another interesting bit of information is that md1 and md2, both stripes, do not have any information inside square brackets.
另外有趣的一点是md 1和md 2,两条带,在方括号内没有任何的信息。
I did not want to make a list, I wanted to create a tuple thank you for catching it. I want parens not square brackets there.
为什么这里有错误了,我并不想要创建,一个列表,我想创建一个元组,谢谢你,发现了这个错误。
应用推荐