Blog
IO App – XML To JSON Converter
There are a lot of online converters out there that will take XML file contents and turn it into JSON. I decided to make my own and then show how simply this can be done with modern JavaScript: How Does Read more…
There are a lot of online converters out there that will take XML file contents and turn it into JSON. I decided to make my own and then show how simply this can be done with modern JavaScript: How Does Read more…
There are many websites that make it super easy to import node packages into your website. One of them is Unpkg.com. If you want to import a package into your web page or website you can try using the following: Read more…
At times you may want to set a minimum height and/or a maximum height for an Lightning Web Component Datatable. The documentation may lead you to believe that you cannot accomplish this but with some CSS3 you definitely can. If Read more…
Did you know that you can pass a function as the second parameter to JSON.parse()? Doing this causes every key/value pair to be passed to this function for further processing. You can read all about how JSON.parse() and the reviver Read more…
Last year I needed a way to be able to parse JSON with comments (also known as JSONC). With that in mind I wrote the following short solution which will essentially remove JavaScript-style comments and trailing commas from the specified Read more…
Every once in a while I just need to get the stack trace of an exception as a string so that I can log the error in a separate system. Here is a quick way to do that:
It is often handy to create downloadable content on the fly using JavaScript. Sometimes you may want to do so while also encoding the contents as base64. That is where the btoa() function comes in handy. Here is an example Read more…
There have been so many times when I wanted to have a datetime show in UTC. I am not talking about simply looking at the time and acting as if it is in UTC. For example let’s say that I Read more…
Recently I had to write a custom integration which would sync customers found in QuickBooks with accounts found in Salesforce. We have been using Python to write all of our custom integrations so I have been using python-quickbooks and simple-salesforce. Read more…
On a rare occasion you may need to convert a column name from Excel or Google Sheets to a number. For example you may be seeing references to a random column such as D, G, BV, etc. but you don’t Read more…