Migrate CheckMK Plugin from 1.x to 2.x, whats equal to parse_json

Of course it is. See RFC4627:

Insignificant whitespace is allowed before or after any of the six structural characters.

So newlines and indentation is explicitely allowed and does not invalidate the JSON.