I want to use kotlin.js parse, but I don't know how to import it.
I tried
import org.jetbrains.kotlin.js.parser.sourcemaps.*;
but it didn't include JSON parse
kotlin.js
is designed for JavaScript platform. But you show Java-styled import in your code. You can't use JavaScript library in Java project. If you have Java project you should find another lib for JSON parsing, this link can be helpful.
If you want to create Kotlin/JavaScript library this and this links can help you.