Skip to content

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

License

Notifications You must be signed in to change notification settings

nampdn/DictDotDot.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages