0
파일은 내가 파일 및 디스플레이 "내-cluster_wait_timimg"을 읽을 수이파일에서 json 값을 바꾸거나 업데이트하는 방법은 무엇입니까?
{
"ClusterName": {
"Description": "Name of the dbX Cluster",
"Type": "String",
"MinLength": "1",
"MaxLength": "64",
"AllowedPattern": "[-_ a-zA-Z0-9]*",
"Default": "my-cluster_wait_timimg",
"ConstraintDescription": "can contain only alphanumeric characters, spaces, dashes and underscores."
}
}
같은 JSON 형식이 포함되어 있습니다. 그 후 , html 태그를 사용하여 위의 값을 업데이트하는 방법.
<input type=text id="" value=""/>
왜 자바 스크립트를 사용하지 않습니까? – user2360915
어떻게? 이드를 사용하니? – shas
문자열을 JSON 객체로로드하고 원하는 값을 업데이트 할 수 있습니다. 죄송 합니다만 질문에 충분한 정보가 없습니다. 이미 시도한 코드를 게시하십시오. – user2360915