Blog

Page 243 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for Is the order of elements in a JSON list preserved?
arraysjavascriptjsonlist

Is the order of elements in a JSON list preserved?

Published on September 2, 2023

# Is the order of elements in a JSON list preserved? πŸ“‹πŸ”’ Have you ever worked with JSON and noticed that the order of elements in a JSON object is not always preserved? It can be frustrating when the original order you intended is lost. But what about JS

Cover Image for Gson: Directly convert String to JsonObject (no POJO)
javajson

Gson: Directly convert String to JsonObject (no POJO)

Published on September 2, 2023

# πŸ“ Gson: Directly convert String to JsonObject (no POJO) 🌐 Are you trying to manipulate a JSON tree using GSON but facing the issue of not having a Plain Old Java Object (POJO) to convert a string into before converting it to JsonObject? Fear not! We h

Cover Image for How to open Visual Studio Code"s "settings.json" file
json

How to open Visual Studio Code"s "settings.json" file

Published on September 2, 2023

# How to Open Visual Studio Code's 'settings.json' File πŸ”§ Are you having trouble finding the 'settings.json' file in Visual Studio Code? Don't worry, you're not alone! Many people struggle with this, but fear not, because we're here to guide you through

Cover Image for REST API - file (ie images) processing - best practices
json

REST API - file (ie images) processing - best practices

Published on September 2, 2023

# REST API - File Processing Best Practices: Simplify Your Uploads! πŸ“Έβœ¨ Are you developing a server with a REST API that deals with file processing and finding it tricky to handle image uploads from clients? πŸ–₯️🌐 Don't worry! In this blog post, we'll exp

Cover Image for How can I pretty-print JSON using Go?
jsonpretty-print

How can I pretty-print JSON using Go?

Published on September 2, 2023

# Pretty-Print JSON Using Go Like a Boss! 🌟 Have you ever found yourself staring at a wall of unreadable JSON code? πŸ€” Don't worry, you're not alone. We've all been there, squinting our eyes and desperately trying to make sense of it all. But fear not, m

Cover Image for YAML equivalent of array of objects in JSON
arraysjsontypesyaml

YAML equivalent of array of objects in JSON

Published on September 2, 2023

# YAML Equivalent of Array of Objects in JSON If you've ever encountered a JSON array of objects and wondered how to represent it in YAML, you're not alone. YAML is a popular alternative to JSON for configuration files due to its readability and simplicit

Cover Image for Remove last character from string. Swift language
string

Remove last character from string. Swift language

Published on September 2, 2023

# **Removing the Last Character from a String in Swift** Have you ever found yourself wondering how to remove the last character from a String variable in Swift? πŸ€” It's a common problem that may not be explicitly documented, but fear not! We've got you c

Cover Image for Deserializing JSON to .NET object using Newtonsoft (or LINQ to JSON maybe?)
c#json

Deserializing JSON to .NET object using Newtonsoft (or LINQ to JSON maybe?)

Published on September 2, 2023

# Deserializing JSON to .NET Object Using Newtonsoft Hey there! πŸ‘‹ Are you having trouble deserializing JSON data into a .NET object using Newtonsoft (or LINQ to JSON)? You're not alone! This is a common issue that many developers face when working with A

Cover Image for How to exclude property from Json Serialization
c#json

How to exclude property from Json Serialization

Published on September 2, 2023

# How to Exclude Property from JSON Serialization: A Complete Guide Are you facing the challenge of excluding a specific public property from JSON serialization in your DTO class? Don't worry, we've got you covered! In this guide, we'll walk you through t

Blog | Matheus Mello