How to avoid toll roads and ferries with GH 3.0?

Thank you so much for taking the time to assist me @karussell!

I’m invoking from Java and I was following this post Avoiding road classes and environments - #14 by diego-peteiro

I had read the post you mention before but I think my main issue is on how to use those JSON configurations from Java. Also, it seems like I can’t use the init() method with the params to load the toll road information and at the same time set a CustomProfile with the Statement expressions… :frowning:

This is where I’m stuck :confused:

Any help with an update of the Java codein this blog post would be deeply appreciated… Avoiding road classes and environments - #14 by diego-peteiro