DictDotDot.jl

Simple Julia package for setting keys in a `Dict` using dotted string.
Author nampdn
Popularity
0 Stars
Updated Last
2 Years Ago
Started In
June 2020

DictDotDot.jl

Simple Julia package for setting keys in a Dict using dotted string.

Basic Usage

using DictDotDot

# Defind a single Dict
dict = Dict()
# Dict{Any, Any}

# Mutating the dict with nested key
dotset!(dict, "greeting.message", "Hello World!")
# ("greeting" => Dict{Any,Any}("message" => "Hello World!"))

Documentation

dotset!(dict::Dict, dottedkey::String, value::Any)