Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
shihyuho authored Jul 26, 2018
1 parent 46a016b commit 02b42f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# Jackson Dynamic Property Filter

Basically, when you are using Gson and you need to exclude specific fields from Serialization WITHOUT annotations on the target object, you will use `ExclusionStrategy`. But I didn't find an similar way to do that in Jackson. So this repo provides an easy way to determine filters dynamically, and it also well integration with Spring MVC.
Basically, when you are using Gson and you need to exclude specific fields from Serialization WITHOUT annotations on the target object, you will use `ExclusionStrategy`. But I didn't find an similar way to do that in Jackson. So this repo provides an easy way to determine filters dynamically, and it also well integration with Spring MVC/Spring Boot.

## Requirements

Expand Down Expand Up @@ -76,6 +76,8 @@ public class WebMvcConfig extends WebMvcConfigurerAdapter {
}
```

If you're using Spring Boot, take a look about [jackson-dynamic-filter-spring-boot-starter](https://github.com/shihyuho/jackson-dynamic-filter-spring-boot-starter)

### Using annotation

- `@SerializeAllExcept` - Same as `SimpleBeanPropertyFilter.serializeAllExcept(...)`
Expand Down

0 comments on commit 02b42f1

Please sign in to comment.