Skip to content

DATAREDIS-423 - Add support for Jackson2 based HashMapper. #197

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

christophstrobl
Copy link
Member

Added FasterXML Jackson ObjectMapper based HashMapper implementation that allows flattening.

class Person {
  String firstname;
  String lastname;
  Address address;
}

class Address {
  String city;
  String country;
}
### NON Flat 
firstname:Jon
lastname:Snow
address:{ city : Castle Black, country : The North }

###  Flat 
firstname:Jon
lastname:Snow
address.city:Castle Black
address.country:The North

christophstrobl and others added 3 commits May 9, 2016 15:43
Added FasterXML Jackson `ObjectMapper` based `HashMapper` implementation that allows flattening. 

```java
class Person {
  String firstname;
  String lastname;
  Address address;
}

class Address {
  String city;
  String country;
}
```

```bash
### NON Flat 
firstname:Jon
lastname:Snow
address:{ city : Castle Black, country : The North }

###  Flat 
firstname:Jon
lastname:Snow
address.city:Castle Black
address.country:The North
```
Extend documentation. Reformat JavaDoc. Adjust test method names.

Original pull request: #197.
mp911de pushed a commit that referenced this pull request May 13, 2016
Added FasterXML Jackson `ObjectMapper` based `HashMapper` implementation that allows flattening.

```java
class Person {
  String firstname;
  String lastname;
  Address address;
}

class Address {
  String city;
  String country;
}
```

```bash
firstname:Jon
lastname:Snow
address:{ city : Castle Black, country : The North }

firstname:Jon
lastname:Snow
address.city:Castle Black
address.country:The North
```

Original pull request: #197.
mp911de added a commit that referenced this pull request May 13, 2016
Extend documentation. Reformat JavaDoc. Adjust test method names.

Original pull request: #197.
@mp911de
Copy link
Member

mp911de commented May 13, 2016

Merged with d097a64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants