Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/json/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angularjs 如何在发送前在developer JSON中设置输入值_Angularjs_Json_Forms_Validation_Schema - Fatal编程技术网

Angularjs 如何在发送前在developer JSON中设置输入值

Angularjs 如何在发送前在developer JSON中设置输入值,angularjs,json,forms,validation,schema,Angularjs,Json,Forms,Validation,Schema,我有这样的json数据,我不知道我是否必须设置答案 { "id": 1251, "name": "user_reported_systolic", "description": "This is the first of the 2 numbers displayed on your blood pressure meter", "label": "Systolic", "dataType": "NUMBER", "selectType": "NONE", "disp

我有这样的json数据,我不知道我是否必须设置答案

{
  "id": 1251,
  "name": "user_reported_systolic",
  "description": "This is the first of the 2 numbers displayed on your blood pressure meter",
  "label": "Systolic",
  "dataType": "NUMBER",
  "selectType": "NONE",
  "displayType": "TEXTBOX",
  "alwaysToday": true,
  "value":
  {
      "string": "",
      "number": "",
      "keys": "",
      "date": ""
  },
  "entryDate": "",
  "expectedRange": {
      "Low":3,
      "High": 5
  }
}
我创建了输入字段来获取数字,之后我不知道我是否必须将输入值设置为这个JSON,因为一旦输入字段成功,我必须将这个JSON数据发送给开发人员


将来,我需要基于JSON创建动态输入字段,在JSON中再次从input jest存储获取值后,可以是文本区域、收音机、复选框等



在获取字符串存储在字符串中时,如果是数字存储在数字中,如果其单选(或)复选框将密钥和值存储在其中

键和值基于某些计算,因此请与后端开发人员联系

"value":
  {
      "string": "",
      "number": "",
      "keys": "",
      "date": ""
  },