Key Value Parser v1.0.0 KeyValueParser

This module contains functions to parse key value pairs.

Summary

Functions

Splits a string into a Keyword

Types

Functions

parse(input)

Specs

parse(String.t) :: t

Splits a string into a Keyword.

This function splits the given string into a list of key value pairs as outlined in the Keyword module.

Examples

iex> KeyValueParser.split("name:\"Timber Technologies\" domain:timber.io awesome:true")
[name: "Timber Technologies", domain: "timber.io", awesome: true]