Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Jul 12th, 2018 68 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. // creamos una variable tipo []
  2. var json=[];
  3. //creamos los item object que guardaremos en el array
  4. var item ={
  5.   nombre:'Francisco',
  6.   cargo:'Programador'
  7. }
  8. //guardamos los item en el array json
  9. json.push(item);
  10. // si lo usamos en otro objeto json
  11. JSON.stringify(jsonArchivo)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top