Key Value Parser v1.0.4 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
parse!(input)

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.parse("name:\"Timber Technologies\" domain:timber.io awesome:true")
[name: "Timber Technologies", domain: "timber.io", awesome: "true"]