2

I am trying to find out why the JSON objects that I pass to a Spring controller get accepted with an extra field and when they don't get accepted.

I was looking at the Modelmapper configuration in the documentation and came across this text for MatchingStrategy.STANDARD.

 - Tokens can be matched in any order
 - All destination property name tokens must be matched
 - All source property names must have at least one token matched

The question that I have is: what are these tokens? I'm particularly interested in the meaning because of the third bullet point, since I can't figure out what this means.

Maiky
  • 37
  • 9
tehbobshow
  • 47
  • 1
  • 6

1 Answers1

3

Token are words of sentence in a String.

check Stringtokenizer class in java.

How modelmapper works

Token class in modelmapper

Hemant
  • 1,403
  • 2
  • 11
  • 21