A slight variation on Richards answer but readTree can take a string so you can simplify it to:

ObjectMapper mapper = new ObjectMapper();
JsonNode actualObj = mapper.readTree("{\"k1\":\"v1\"}");
Answer from slashnick on Stack Overflow
🌐
Jenkov
jenkov.com › tutorials › java-json › jackson-jsonnode.html
Jackson JsonNode
The Jackson JsonNode class is the Jackson tree object model for JSON. Jackson can read JSON into an object graph (tree) of JsonNode objects. Jackson can also write a JsonNode tree to JSON.
🌐
Javadoc.io
javadoc.io › doc › com.fasterxml.jackson.core › jackson-databind › latest › com › fasterxml › jackson › databind › JsonNode.html
JsonNode - jackson-databind 2.21.2 javadoc
Bookmarks · Latest version of com.fasterxml.jackson.core:jackson-databind · https://javadoc.io/doc/com.fasterxml.jackson.core/jackson-databind · Current version 2.21.2 · https://javadoc.io/doc/com.fasterxml.jackson.core/jackson-databind/2.21.2 · package-list path (used for javadoc generation ...
🌐
Baeldung
baeldung.com › home › json › jackson › working with tree model nodes in jackson
Working with Tree Model Nodes in Jackson | Baeldung
January 8, 2024 - The most convenient way to convert a JsonNode into a Java object is the treeToValue API:
🌐
Fasterxml
fasterxml.github.io › jackson-databind › javadoc › 2.7 › com › fasterxml › jackson › databind › JsonNode.html
JsonNode (jackson-databind 2.7.0 API)
java.lang.Object · com.faster... abstract class JsonNode extends JsonSerializable.Base implements TreeNode, Iterable<JsonNode> Base class for all JSON nodes, which form the basis of JSON Tree Model that Jackson implements....
🌐
Fasterxml
fasterxml.github.io › jackson-databind › javadoc › 2.8 › com › fasterxml › jackson › databind › JsonNode.html
JsonNode (jackson-databind 2.8.0 API)
java.lang.Object · com.faster... abstract class JsonNode extends JsonSerializable.Base implements TreeNode, Iterable<JsonNode> Base class for all JSON nodes, which form the basis of JSON Tree Model that Jackson implements....
🌐
GitHub
github.com › codehaus › jackson › blob › master › src › java › org › codehaus › jackson › JsonNode.java
jackson/src/java/org/codehaus/jackson/JsonNode.java at master · codehaus/jackson
* {@link org.codehaus.jackson.node}, which is in 'mapper' jar · * (whereas this class is in 'core' jar, since it is declared as · * nominal type for operations in {@link ObjectCodec}) */ public abstract class JsonNode · implements Iterable<JsonNode> { protected final static List<JsonNode> NO_NODES = Collections.emptyList(); protected final static List<String> NO_STRINGS = Collections.emptyList(); ·
Author   codehaus
🌐
Adobe Developer
developer.adobe.com › experience-manager › reference-materials › cloud-service › javadoc › com › fasterxml › jackson › databind › JsonNode.html
JsonNode (The Adobe Experience Manager SDK 2022.11.9850.20221116T162329Z-220900)
public abstract class JsonNode extends JsonSerializable.Base implements TreeNode, java.lang.Iterable<JsonNode> Base class for all JSON nodes, which form the basis of JSON Tree Model that Jackson implements.
Find elsewhere
🌐
Medium
medium.com › @salvipriya97 › jsonnode-explained-with-examples-d0c05324f61d
JsonNode explained with examples. What is JsonNode in Java? | by Priya Salvi | Medium
July 2, 2024 - JsonNode is a class provided by the Jackson library that represents a node in a JSON tree structure. It is part of Jackson's Tree Model, which allows for parsing, manipulating, and generating JSON content in a hierarchical tree form.
🌐
Red Hat
access.redhat.com › webassets › avalon › d › red-hat-jboss-enterprise-application-platform › 7.1.beta › javadocs › com › fasterxml › jackson › databind › JsonNode.html
JsonNode (Red Hat JBoss Enterprise Application Platform 7.1.0.Beta1 public API)
java.lang.Object · com.faster... abstract class JsonNode extends JsonSerializable.Base implements TreeNode, Iterable<JsonNode> Base class for all JSON nodes, which form the basis of JSON Tree Model that Jackson implements....
🌐
Fasterxml
fasterxml.github.io › jackson-core › javadoc › 1.9 › org › codehaus › jackson › JsonNode.html
JsonNode (Jackson JSON Processor)
java.lang.Object · org.codeha... BaseJsonNode · public abstract class JsonNode extends Object implements Iterable<JsonNode> Base class for all JSON nodes, which form the basis of JSON Tree Model that Jackson implements....
🌐
DEV Community
dev.to › abharangupta › dive-into-jackson-for-json-in-java-understanding-jsonnode-arraynode-and-objectmapper-30g4
Dive into Jackson for JSON in Java: Understanding JsonNode, ArrayNode, and ObjectMapper - DEV Community
October 22, 2024 - ObjectMapper is Jackson's main helper. It's the one that translates between JSON and Java. readTree() reads the JSON and converts it into a JsonNode object.
🌐
Java Code Geeks
javacodegeeks.com › home › core java
Jackson JsonNode to Java Collections - Java Code Geeks
July 8, 2024 - In this article, we explored various methods for converting Jackson JsonNode objects into typed Java collections. We discussed using ObjectMapper with TypeReference and readValue methods to transform JSON data into List and Map structures. Additionally, we demonstrated how to manually traverse JsonNode and employ custom deserializers for more complex scenarios.
🌐
Tabnine
tabnine.com › home page › code › java › com.fasterxml.jackson.databind.jsonnode
com.fasterxml.jackson.databind.JsonNode java code examples | Tabnine
final String json = "{\"objects\" : [\"One\", \"Two\", \"Three\"]}"; final JsonNode arrNode = new ObjectMapper().readTree(json).get("objects"); if (arrNode.isArray()) { for (final JsonNode objNode : arrNode) { System.out.println(objNode); } } Base class for all JSON nodes, which form the basis of JSON Tree Model that Jackson implements.
🌐
GitHub
gist.github.com › diegoicosta › f06f61720f02b8c00afddb146ade5cce
Using Jackson to create manually a JsonNode · GitHub
Using Jackson to create manually a JsonNode. GitHub Gist: instantly share code, notes, and snippets.
🌐
Red Hat
access.redhat.com › webassets › avalon › d › jboss_enterprise_application_platform_continuous_delivery › 19 › javadocs › com › fasterxml › jackson › databind › JsonNode.html
JsonNode (Red Hat JBoss Enterprise Application Platform 7.4.0.CD19 public API)
java.lang.Object · com.faster... abstract class JsonNode extends JsonSerializable.Base implements TreeNode, Iterable<JsonNode> Base class for all JSON nodes, which form the basis of JSON Tree Model that Jackson implements....
🌐
Red Hat
access.redhat.com › webassets › avalon › d › red_hat_jboss_enterprise_application_platform › 8.0 › javadocs › com › fasterxml › jackson › databind › JsonNode.html
JsonNode (Red Hat JBoss Enterprise Application Platform 8.0.0.GA public API)
public abstract class JsonNode extends JsonSerializable.Base implements TreeNode, Iterable<JsonNode> Base class for all JSON nodes, which form the basis of JSON Tree Model that Jackson implements.
🌐
Fasterxml
fasterxml.github.io › jackson-databind › javadoc › 2.4 › com › fasterxml › jackson › databind › JsonNode.html
JsonNode (jackson-databind 2.4.0 API)
java.lang.Object · com.faster... BaseJsonNode · public abstract class JsonNode extends Object implements TreeNode, Iterable<JsonNode> Base class for all JSON nodes, which form the basis of JSON Tree Model that Jackson implements....
🌐
Baeldung
baeldung.com › home › json › jackson › jackson – marshall string to jsonnode
Jackson - Marshall String to JsonNode | Baeldung
June 28, 2023 - This quick tutorial will show how to use Jackson 2 to convert a JSON String to a JsonNode (com.fasterxml.jackson.databind.JsonNode).