“Generator JSON palsu” Kode Jawaban

data dummy json

fetch('https://jsonplaceholder.typicode.com/todos')
  .then(response => response.json())
  .then(json => console.log(json))
Frightened Frog

Menghasilkan data uji di API

For API Part: I use "https://www.mockaroo.com/" ==> 
generates multiple format (CSV, JSON, XML, etc)
Obedient Ocelot

Generator JSON palsu

{
		"requestCount": "number", 
		"requests": { "requsetId": "string",
			"icon": "string",
			"service": {"id": "string","nameAr": "string","nameEn": "string"
			},							
			"requestor": {"id": "string","nameAr": "string","nameEn": "string"
			}
			,           			
			"requestDate": "date","step": "string", "summary": "string", "isRead": "boolean",
			"stepOwner": {"id": "string","nameAr": "string","nameEn": "string","position": "string"
			}, 
			"d": 0, 
			"resultStatus": 0, 
			"actions": [{"id": "string","nameEn": "string","nameAr": "string",
				"actionUrl": "string","isMainAction": "boolean","isQuickAction": "boolean"
			}],
			"stepHistory": [{"step": "string",
				"stepOwner": {"id": "string","nameAr": "string","nameEn": "string","position": "string"
				},							
				"actionDate": "date","note": "string", 				
				"actions": {		"id": "string","nameEn": "string","nameAr": "string"}
			}]
			
		}
	}
Eager Earthworm

Jawaban yang mirip dengan “Generator JSON palsu”

Pertanyaan yang mirip dengan “Generator JSON palsu”

Lebih banyak jawaban terkait untuk “Generator JSON palsu” di JavaScript

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya