Udemy

Jsonnet from scratch

Enroll Now
  • 195 Students
  • Updated 10/2022
4.1
(30 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
1 Hour(s) 24 Minute(s)
Language
English
Taught by
Raphaël Bauduin
Rating
4.1
(30 Ratings)

Course Overview

Jsonnet from scratch

Ease your JSON and YAML files generation

Understand how Jsonnet works, and be productive writing Jsonnet code. Based on real worl experience.

Jsonnet is a programming language used to generate JSON and YAML content efficiently and with flexibility. JSON and YAML configuration formats are used pervasilvely. From docker-compose to Hashicorp tools like Vagrant and Terraform. Jsonnet is a tool of interest for anyone needing to generate JSON or YAML configuration. As such it is no surprise to see it is used by some tools helping to manage complex Kubernetes configurations.

This training helps you get productive rapidly with the Jsonnet language. It covers from the basics to the advanced techniques:

  • Syntax and data types: The Jsonnet syntax is close to JSON. Actually a JSON document is a valid Jsonnet program! Discover the syntax along with the data types supported by Jsonnet.

  • Understanding the Jsonnet execution: When you know the syntax, it is tume to understand how Jsonnet code is executed. From Jsonnet expressions to JSON manifestation

  • Jsonnet functions: Learn to define and use function to avoid repetitions and modularize your code

  • Jsonnet objects: Discover the power of combining objects, and more importantly, understand how it works. Learn about inheritances, and how to augment an object’s existing value

  • Comprehension: Master array and object comprehension, allowing you to transform arrays to other arrays and even objects

  • Parameterised runs: See how you can pass parameters to a Jsonnet program

  • Libraries: Organise your code by authoring and using libraries. Manage your project’s dependencies with the Jsonnet Bundler, the package manager. Get tips on how to manage your Jsonnet with your source code versioning system.

  • Generate errors: Learn how to interrupt the Jsonnet execution early


Course Content

  • 10 section(s)
  • 16 lecture(s)
  • Section 1 Introduction
  • Section 2 Jsonnet Syntax And Data Types
  • Section 3 Understanding Jsonnet execution
  • Section 4 Jsonnet functions
  • Section 5 Jsonnet Objects
  • Section 6 Array and Object Comprehension
  • Section 7 Parameterised runs
  • Section 8 Writing, using and managing libraries
  • Section 9 Generating error
  • Section 10 Addendum: Installing Jsonnet

What You’ll Learn

  • Understand the benefits of using Jsonnet
  • Learn about all Jsonnet features
  • Flexibly produce JSON
  • Structure you Jsonnet code for flexibility
  • Manage your jsonnet code and its dependencies in your source versioning system
  • Understand how Jsonnet is executed


Reviews

  • J
    Jens Coppejans
    3.5

    Text in the slides was a bit small to easily read.

  • G
    Gerardo Saca
    5.0

    Good course that provides end-to-end coverage on Jsonnet including some best practices and important considerations/recommendations.

  • A
    Alistair Young
    4.0

    Solid course taught me as much jsonnet as I need for my current job

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed