Blog

Page 219 of my articles, tutorials, and thoughts

Latest Articles

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

Cover Image for Python JSON serialize a Decimal object
decimalfloating-pointjsonpython

Python JSON serialize a Decimal object

Published on September 2, 2023

# Python JSON Serialize: Dealing with Decimal Precision in JSON Encoding πŸ–₯️ Hey there tech enthusiasts! Welcome back to our blog! Today, we'll tackle a common issue that many Python developers face when serializing Decimal objects to JSON. πŸ’‘ Imagine th

Cover Image for How to post JSON to a server using C#?
c#json

How to post JSON to a server using C#?

Published on September 2, 2023

## How to post JSON to a server using C#? πŸŒβœ‰οΈ Ever wanted to send JSON data to a server using C#? You're in luck because I've got a comprehensive guide just for you! πŸŽ‰ ### The Code Here's a sample code snippet that demonstrates how to send JSON data t

Cover Image for json.dumps vs flask.jsonify
jsonpython

json.dumps vs flask.jsonify

Published on September 2, 2023

# json.dumps vs flask.jsonify: Understanding the Differences If you're scratching your head about the differences between `json.dumps` and `flask.jsonify`, you're not alone. These two methods often cause confusion among developers when it comes to creatin