How to stringify an object in Javascript: converting an object to a padded & well-formatted string or simply inline
posted in: Javascript, JSON, Programming, String Manipulation Algorithms
0
I wrote a function to convert an object in a string (stringification) without using a JSON library; you can convert an object to a well formatted string with padding or simply to an unique line: [sourcecode language=”javascript”] function stringify(object, padding, … Read More