Skip to content

Commit

Permalink
Set Explicit Field Order (#681)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-WangZhi authored Nov 7, 2024
1 parent 21cc003 commit ac12591
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.fasterxml.jackson.dataformat.xml.ser;

import com.fasterxml.jackson.annotation.JsonFilter;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.databind.SerializerProvider;
import com.fasterxml.jackson.databind.ser.FilterProvider;
Expand All @@ -18,6 +19,7 @@
public class TestSerializationWithFilter extends XmlTestBase
{
@JsonFilter("filter")
@JsonPropertyOrder({ "b", "c" })
static class Item
{
@JacksonXmlText
Expand Down

0 comments on commit ac12591

Please sign in to comment.