Actually, it seems like you're more interested in the data itself rather than the way it is parsed (json, csv, sql, ...), therefore it should be an application service that helps with concern of parsing the file. You can also define an interface with a method like parse and depend on the interface rather than the actual implementation. This gives you the possibility to add more parsers (json parser, yml parser, ...) in the future (if you need to)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Actually, it seems like you're more interested in the data itself rather than the way it is parsed (json, csv, sql, ...), therefore it should be an application service that helps with concern of parsing the file. You can also define an interface with a method like
parse
and depend on the interface rather than the actual implementation. This gives you the possibility to add more parsers (json parser, yml parser, ...) in the future (if you need to)