Compiles with json reader.