Does anyone know, how to write a log4j2 properties file, which outputs the logs to the console as JSON ?

i saw this link, <https://logging.apache.org/log4j/2.x/manual/layouts.html#JSONLayout>, but it is not clear for me, how do the configuration in a properties file.

thanks,
Eran