Explore why the ‘JSONObject text must begin with ‘{‘ at character 0’ exception occurs, what it means, and how to resolve it, with clear examples.
Also find me here:
Baeldung Author
Neetika Khandelwal
An enthusiastic computer science engineer with experience working in Java applications. I have interest in solving real world problems through my knowledge in DSA and passionate about learning new technologies. I also develop technical contents to share knowledge and provide learning content.
Here's what I've written (so far):
Baeldung on Java
- All
- Java Array (6)
- Java List (4)
- Algorithms (4)
- Java Streams (3)
- Java Numbers (3)
- Java Map (3)
- Java Collections (3)
- Spring Boot (2)
- Java String (2)
- Java (2)
- JSON (2)
- Testing (1)
- Spring (1)
- Networking (1)
- Logging (1)
- Java Web (1)
- Data (1)
- Core Java (1)
Get Host Name with Port from a HTTP or HTTPS Request in Java
Filed under Java Web
Explore different ways to get the hostname with a port from an HTTP request in Java.
Getting the List of All Keys Under a JSONObject Using GSON
Filed under JSON
Build a simple recursive utility to extract all keys from a JsonObject using GSON
DataLoader for Batch Processing
Filed under Data
A quick tutorial on using DataLoader to batch database calls in Java.
Create Array of Linked Lists in Java
Filed under Java Array, Java List
A quick tutorial on creating an array of linked lists in Java.
Add a Line Break/Blank Line After Log Statements in Java
Filed under Logging
Explore various ways to add a line break in different logger libraries.
Printing Stack Values in Java
Filed under Java Collections
Explore different ways to print stack values, from the simplest to the most efficient approaches.
Introduction to OSHI
Filed under Java
OSHI (Operating System and Hardware Information) is a pure Java library that helps us fetch system-level details without any native dependencies.
Java Equivalent to Python’s Easy String Slicing
Filed under Java String
Explore Java equivalents to Python’s string slicing and how to implement similar operations efficiently.
Baeldung on Computer Science
- All
- Programming (1)
- Data Structures (1)
How to Implement a Queue Using Two Stacks?
Filed under Data Structures
Learn two approaches to simulating a FIFO queue using two LIFO stacks.
High-Level Design vs. Low-Level Design
Filed under Programming
Explore the differences between high-level and low-level designs in software engineering.