The article discusses a new approach to generating valid JSON using Large Language Models (LLMs). The method, called Outlines, guarantees structured outputs during generation, eliminating the need for post-processing parsing. This approach is more efficient than existing methods, which often require looping over the entire vocabulary at each step. The article highlights the benefits of using Outlines, including improved accuracy and reduced computational overhead. The method has been implemented in a library, which provides a simple and efficient way to generate valid JSON.