Blog
Page 243 of my articles, tutorials, and thoughts
Latest Articles
Is the order of elements in a JSON list preserved?
# 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
Gson: Directly convert String to JsonObject (no POJO)
# π 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
How to open Visual Studio Code"s "settings.json" file
# 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
REST API - file (ie images) processing - best practices
# 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
How can I pretty-print JSON using Go?
# 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
YAML equivalent of array of objects in JSON
# 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
Remove last character from string. Swift language
# **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
Deserializing JSON to .NET object using Newtonsoft (or LINQ to JSON maybe?)
# 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
How to exclude property from Json Serialization
# 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







