HF RL Explorer

Task: Escape a JSON String for Safe Inclusion in a URL

Task: Escape a JSON String for Safe Inclusion in a URL: a task in Terminal-Lego-15k (Harbor dataset). You need to write a JavaScript (Node.js) utility that takes a JSON array, serializes it, and properly escapes/encodes it so it can be safely included as a query parameter in a URL.

Part of PrimeIntellect/Terminal-Lego-15k.