Skip to content

Developer References

mchogan edited this page Jul 29, 2012 · 6 revisions

JSON

Source javascriptkit.com

Sample JSON record

{
  "name": "Bob Miller",
  "age": 27,
  "occupation": "Programmer",
  "contact":{
    "address": "253 Johnson Road",
    "Home_Phone": "544-6443",
    "Cell_Phone": "563-3566"
  }
}

Strict JSON rules

  • All string values must be in double quotes (single quotes won't do).
  • The name portion of each name/value pair must also be in double quotes.
  • The value of a property cannot be a function or method.

QR codes

Invented to track vehicles during the manufacturing process, the QR Code is one of the most popular types of two-dimensional barcodes. It was designed to allow its contents to be decoded at high speed. The QR code is detected as a 2-dimensional digital image by a semiconductor image sensor and is then digitally analyzed by a programmed processor. The processor locates the three distinctive squares at the corners of the image, and normalizes image size, orientation, and angle of viewing, with the aid of a smaller square near the fourth corner. The small dots are then converted to binary numbers and validity checked with an error-correcting code. Wikipedia

QR code generators

*JS-HTML5-QRCode-Generator *QRickit

QR code readers

*jsqrcode

Number conversion

Clone this wiki locally