Deserialize into Private Fields using Jackson

1. Overview In this tutorial, we'll look at how to deserialize with private fields using Jackson. You can also check out Jackson serialization with...

Continue Reading

Serialize Package-Private Fields using Jackson

1. Overview In this tutorial, we'll investigate how we can serialize properties with different access modifiers. Additionally, we'll look at the us...

Continue Reading

Control How Jackson Serializes Null Values

1. Overview In this tutorial, we'll look at serialization of null values. By default, Jackson serializes objects with all visible properties, but w...

Continue Reading

Serialize Private Fields using Jackson

1. Overview In this tutorial, we'll look at serializing private fields using Jackson. 2. Serialize Private Fields Let's start with the default beha...

Continue Reading

XSLT: Move An XML Element into Another Element

We will detail how we can move an XML element into another element using XSLT. Input Following is the example input that we will work with. We will...

Continue Reading

Identity Template using XSLT

1. Overview In this tutorial, we'll look at the identity template. Identity template or identity transformation takes the input XML and writes to o...

Continue Reading

XPath: Select Sibling Nodes

1. Overview In this tutorial, we're going to look at selecting sibling nodes. The sibling axes include preceding-sibling:: and following-sibling::....

Continue Reading

XPath: Select Preceeding or Following Nodes

The preceding and following axes have the potential to select a large number of nodes, because they consider all nodes that come before (after) the...

Continue Reading

XPath: Select Parent or Ancestor Nodes

The parent axis (parent::) refers to the parent of the context node. The expression parent::X should not be confused with ../X. The former will pro...

Continue Reading

XPath: Select Child or Descendant Nodes

The child axis is the default axis in XPath. This means one does not need to use the child:: axis specification. One can reach deeper into the XML ...

Continue Reading