© 2023 Hashnode
#json
If we have a JSON string and we need to prettify it without having a struct to unmarshal, we can use: package main import ( "bytes" "encoding/json" "fmt" "log" ) func PrettyJSON(str …
Preface One of the most popular file formats for flat files in data engineering is the JSON (JavaScript Object Notation) format. A typical JSON file is made up of key-value pairs, where the key is the…
Previously on... I will take a brief pause from my series on securing and reclaiming control of personal data. To give a little spoiler, it is about using the tool SimpleLogin | Open source anonymous …
Let's say you are Tony Stark (I miss him so much) and you want to log in to your systems to fight with the aliens. So how does his system makes sure that he is logged in so that he can save the world(New York) easily? So, instead of him sen…
In this quick dive, we aim to gain a basic understanding of JSON; particularly its syntax. JSON stands for "Javascript Object Notation". It is a lightweight data-interchange format that is used to sto…
To see this post in Portuguese, click here The problem At my current job, I had to build a page to check if some environments are running or down. Just like AWS, Apple, etc, have, as you can see below. Job done, then I have to write tests…
In today's fast-paced world, customers demand instant gratification when it comes to customer service. One of the best ways to address this is by leveraging chatbots to provide customers with quick an…
YAML YAML is an information transfer language like JSON or XML. And it is used for its simplicity and consistency. File Extention These YAML files end with .yml or .yaml, either of them is correct. In…
Error Meet Error I meet the below error when I use axios with bigint data. Why did this error appear in the console? I investigated why this error occurred. The information was found on JSON stringif…
It's easy to filter the nodes of the JSON with some simple syntax of JSON Path. Below are the notes of some practical scenarios of filtering: Filter by date time and contains To be able to filter the expenses by two fields. One is the expen…