block_json.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. [
  2. {
  3. "name": "json.new",
  4. "contents": [
  5. "创建一个JSON对象,并赋值给",
  6. {"type": "inputMortise","default": "","tenonTypes": []}
  7. ],
  8. "class": "json.New", "extend": "$Around"
  9. },
  10. {
  11. "name": "json.newKey",
  12. "contents": [
  13. "键",
  14. {"type": "input","default": ""},
  15. " : 值",
  16. {"type": "inputMortise","default": "","tenonTypes": []}
  17. ],
  18. "class": "json.NewKey", "extend": "$Enumerate"
  19. },
  20. {
  21. "name": "json.newArray",
  22. "contents": [
  23. "创建一个JSON数组对象,并赋值给",
  24. {"type": "inputMortise","default": "","tenonTypes": []}
  25. ],
  26. "class": "json.NewArray", "extend": "$Around"
  27. },
  28. {
  29. "name": "json.newValue",
  30. "contents": [
  31. "值",
  32. {"type": "inputMortise","default": "","tenonTypes": []}
  33. ],
  34. "class": "json.NewKey", "extend": "$Operation"
  35. },
  36. {
  37. "name": "json.encode",
  38. "contents": [
  39. "将JSON对象",
  40. {"type": "mortise", "tenonTypes": []},
  41. "编码为字符串"
  42. ],
  43. "class": "array.encode", "extend": "$Expression"
  44. },
  45. {
  46. "name": "json.encode",
  47. "contents": [
  48. "将字符串",
  49. {"type": "inputMortise","default": "","tenonTypes": []},
  50. "解码为JSON对象"
  51. ],
  52. "class": "array.encode", "extend": "$Expression"
  53. }
  54. ]