go-json-path Released

go-json-path

Recently, I uses Go language to develop some applications and frameworks. Go has some standard libraries, but I found that standard configuration libraries are not provided.

I would like to use JSON format as my configuration file format, because Go supports JSON format in the standard library. However, I feel that the standard library is not useful to parse any JSON formats.

For that reason, I have developed a new open source package for Go, go-json-path. The go-json-path is a utility library to access JSON based configuration easily.

Go supports JSON format, but the decode is a bother to prepare the JSON structures [1][2]. Using the go-json-path, you can get configuration values in the specified JSON file or string by the given path like XPath. The example is bellow.

import (
    "config/jpath"
)

config, err := jpath.NewConfig()
if err != nil {
    t.Error(err)
}

err = config.ParseFromFile("/etc/profile.conf")
if err != nil {
    t.Error(err)
}

name, err := config.GetKeyStringByPath("/organizer/name")
if err != nil {
    t.Error(err)
}

age, err := config.GetKeyStringByPath("/organizer/age")
if err != nil {
    t.Error(err)
}

The configuration file format is based on JSON as the following.

#
#  /etc/profile.conf
#

{
    "organizer": {
        "name": "John Smith",
        "age": 33
    }
}

Repository

References

263 thoughts on “go-json-path Released

  1. Pingback: priligy 60 mg dosage

  2. Pingback: hydroxychloroquine side effects human

  3. Pingback: plaquenil hydroxychloroquine for lupus

  4. Pingback: plaquenil hydroxychloroquine manufacturer

  5. Pingback: ivermectine 6 mg

  6. Pingback: warnings for priligy

  7. Pingback: order stromectol

  8. Pingback: get stromectol online

  9. Pingback: stromectol 875 mg for scabicide

  10. Pingback: stromectol and prednisone for ear infection

  11. Pingback: buy viagra doha

  12. Pingback: prednisone 600 mg

  13. Pingback: buy levitra pakistan

  14. Pingback: buy cialis online cheap

  15. Pingback: cialis for sale in london

  16. Pingback: stromectol no prescription

  17. Pingback: cheap cialis india

  18. Pingback: how to take ivermectin

  19. Pingback: avl ivermectin pour on

  20. Pingback: generic cialis

  21. Pingback: over the counter viagra

  22. Pingback: buy viagra cialis canada

  23. Pingback: sildenafil over the counter uk

  24. Pingback: cialis rx

  25. Pingback: viagra sildenafil 50mg price

  26. Pingback: top ten online casino games

  27. Pingback: how do viagra pills look

  28. Pingback: generic cialis from canada

  29. Pingback: walgreens phone number

  30. Pingback: benefits of viagra for men

  31. Pingback: ivermectin 200

  32. Pingback: ivermectin 3mg pill

  33. Pingback: cost of cialis without prescription

  34. Pingback: viagra generic drug

  35. Pingback: ivermectin wikipedia

  36. Pingback: purchase oral ivermectin

  37. Pingback: buy ventolin germany

  38. Pingback: kory

  39. Pingback: covid care alliance

  40. Pingback: flccc protocol

  41. Pingback: dr pierre kory ivermectine

  42. Pingback: ivermectin 5ml

  43. Pingback: topical ivermectin cost

  44. Pingback: ivermectin price canada

  45. Pingback: ivermectin cost

  46. Pingback: ivermectin 3mg tablet

  47. Pingback: ivermectin 3 mg

  48. Pingback: ivermectin ireland

  49. Pingback: where to get ivermectin

  50. Pingback: where can i buy ivermectin

  51. Pingback: stromectol walgreens

  52. Pingback: stromectol for sale

  53. Pingback: ivermectin tablets for sale

  54. Pingback: stromectol tablets

  55. Pingback: ignition casino best slots

  56. Pingback: madridbet

  57. Pingback: meritking

  58. Pingback: meritroyalbet

  59. Pingback: ivermectin tablets for humans

  60. Pingback: cialis online pharmacy

  61. Pingback: oral prednisone

  62. Pingback: tadalafil liquid

  63. Pingback: buy tadalafil powder

  64. Pingback: elexusbet

  65. Pingback: meritroyalbet

  66. Pingback: meritroyalbet

  67. Pingback: provigil boots pharmacy

  68. Pingback: ivermectin canada

  69. Pingback: stromectol tablets for humans

  70. Pingback: where to buy viagra in la

  71. Pingback: where to buy ivermectin

  72. Pingback: tadalafila

  73. Pingback: cialis super active

  74. Pingback: viagra generico

  75. Pingback: lasix 10 mg

  76. Pingback: furosemide 160 mg daily

  77. Pingback: ivermectin use in india

  78. Pingback: tadalafil peptides

  79. Pingback: cialis pills for cheap

  80. Pingback: how much is generic cialis

  81. Pingback: brand cialis online usa

  82. Pingback: sildenafil pills online purchase

  83. Pingback: baymavi

  84. Pingback: baymavi

  85. Pingback: tadalafil india

  86. Pingback: ivermectin oral solution

  87. Pingback: how to buy sildenafil tablets

  88. Pingback: sildenafil citrate for sale

  89. Pingback: how can i get cheap cialis

  90. Pingback: alternative to cialis

  91. Pingback: buy cialis over the counter

  92. Pingback: tombala siteleri

  93. Pingback: side effects of prednisone 20mg

  94. Pingback: apo prednisone 20mg

  95. Pingback: corona pills

  96. Pingback: 3succeed

  97. Pingback: tadal

  98. Pingback: generic cialis walgreens price

  99. Pingback: tadalafil sandoz

  100. Pingback: stromectol buy uk

  101. Pingback: viagra and covid

  102. Pingback: prednisone side effects in women

  103. Pingback: what is cialis

  104. Pingback: meritroyalbet

  105. Pingback: best online casino usa

  106. Pingback: eurocasino

  107. Pingback: generic viagra name

  108. Pingback: generic viagra online best price

  109. Pingback: cost of cialis without prescription

  110. Pingback: generic cialis

  111. Pingback: borgata free casino

  112. Pingback: ivermectin and covid

  113. Pingback: how to get ivermectin australia

  114. Pingback: free slots that pay cash

  115. Pingback: cialis price canada

  116. Pingback: cialis price

  117. Pingback: can u get high on accutane

  118. Pingback: sildenafil over the counter

  119. Pingback: how can i get cheap cialis

  120. Pingback: ivermectin for humans dosage

  121. Pingback: new no deposit online casinos

  122. Pingback: where to buy ivermectin cream

  123. Pingback: ivermectin 20 mg

  124. Pingback: ivermectin goodrx

  125. Pingback: ivermectin cream

  126. Pingback: ivermectin 0.08 oral solution

  127. Pingback: can you buy ivermectin over the counter

  128. Pingback: stromectol price us

  129. Pingback: stromectol tablets buy

  130. Pingback: ivermectin 6 mg dosage

  131. Pingback: ivermectina

  132. Pingback: ivermectin 2mg

  133. Pingback: ivermectin cost canada

  134. Pingback: purchase ivermectin online

  135. Pingback: buy ivermectin 3mg for sale

  136. Pingback: ivermectin humans

  137. Pingback: buy 40mg lasix online

  138. Pingback: furosemide 20 mg generic

  139. Pingback: stromectol prescription

  140. Pingback: sildenafil tablets uk

  141. Pingback: can you get ivermectin over the counter

  142. Pingback: flccc ivermectin

  143. Pingback: purchase ivermectin

  144. Pingback: stromectol ireland

  145. Pingback: cialis goodrx

  146. Pingback: madridbet giriş

  147. Pingback: luckylandslots.com sign in

  148. Pingback: ivermectin 0.08%

  149. Pingback: online pharmacy

  150. Pingback: how much does hydroxychloroquine cost

  151. Pingback: most reliable canadian pharmacies

  152. Pingback: telegra.phHow-Has-The-COVID-19-Pandemic-Changed-Our-Lives-Globally-02-24

  153. Pingback: cost of ivermectin medicine

  154. Pingback: gpefy8.wixsite.compharmacypostoptimal-frequency-setting-of-metro-services-within-the-age-of-covid-19-distancing-measures

  155. Pingback: ivermectin in diabetic patients

  156. Pingback: keuybc.estranky.skclanky30-facts-you-must-know--a-covid-cribsheet.html

  157. Pingback: https://gwertvb.mystrikingly.com/

  158. Pingback: canadadrugs

  159. Pingback: order stromectol

  160. Pingback: canadian pharmacycanadian pharmacy

  161. Pingback: chubo3.wixsite.comcanadian-pharmacypostwhat-parents-must-find-out-about-kids-and-covid-19

  162. Pingback: https://canadian-pharmacies0.yolasite.com/

  163. Pingback: discount canadian pharmacies

  164. Pingback: kevasw.webgarden.com

  165. Pingback: free cialis samples at walmart

  166. Pingback: 62553dced4718.site123.me

  167. Pingback: https://seketu.gonevis.com/high-10-tips-with-order-medicine-online-1/

  168. Pingback: prescription drugs without prior prescription

  169. Pingback: https://625a9a98d5fa7.site123.me/blog/age-dependence-of-healthcare-interventions-for-covid-19-in-ontario-canada

  170. Pingback: hernswe.gonevis.comscientists-model-true-prevalence-of-covid-19-throughout-pandemic

  171. Pingback: selomns.gonevis.coma-modified-age-structured-sir-model-for-covid-19-type-viruses

  172. Pingback: ivermectin uk coronavirus

  173. Pingback: stromectol tablets for humans for sale

  174. Pingback: buy ivermectin from india

  175. Pingback: fwervs.gumroad.com

  176. Pingback: https://trosorin.mystrikingly.com/

  177. Pingback: skuvsbs.gonevis.comwhen-tadalafil-5mg-competitors-is-good

  178. Pingback: hemuyrt.livejournal.com325.html

  179. Pingback: site373681070.fo.team

  180. Pingback: buy cialis cheap

  181. Pingback: canadian rx

  182. Pingback: canada online pharmacies

  183. Pingback: kuebser.estranky.skclankysupereasy-methods-to-study-every-part-about-online-medicine-order-discount.html

  184. Pingback: kewertyn.wordpress.com20220427expect-more-virtual-house-calls-out-of-your-doctor-thanks-to-telehealth-revolution

  185. Pingback: highest rated canadian pharmacies

  186. Pingback: canadian pharmacies that are legit

  187. Pingback: canadian mail order pharmacies

  188. Pingback: canadian pharmaceuticals

  189. Pingback: drugstore online

  190. Pingback: canadian-pharmaceuticals-online.yolasite.com

  191. Pingback: online-pharmacies0.yolasite.com

  192. Pingback: 6270e49a4db60.site123.meblogthe-untold-secret-to-mastering-aspirin-in-just-7-days-1

  193. Pingback: deiun.flazio.com

  194. Pingback: canadian rx

  195. Pingback: kerntyas.gonevis.comthe-mafia-guide-to-online-pharmacies

  196. Pingback: kerbnt.flazio.com

  197. Pingback: ivermectina en ingles

  198. Pingback: canadian cialis

  199. Pingback: canadian pharmacy king

  200. Pingback: womed7.wixsite.compharmacy-onlinepostnew-ideas-into-canada-pharmacies-never-before-revealed

  201. Pingback: how to make hydroxychloroquine

  202. Pingback: legitimate canadian mail order pharmacies

  203. Pingback: https://sekyuna.gonevis.com/three-step-guidelines-for-online-pharmacies/

  204. Pingback: Canadian Pharmacies Shipping to USA

  205. Pingback: canadian mail order pharmacies

  206. Pingback: https://canadian-pharmacy.webflow.io/

  207. Pingback: buy viagra 25mg

  208. Pingback: https://site656670376.fo.team/

  209. Pingback: canadadrugs

  210. Pingback: canadadrugs

  211. Pingback: https://hekluy.ucraft.site/

  212. Pingback: kawsear.fwscheckout.com

  213. Pingback: hertnsd.nethouse.ru

  214. Pingback: https://uertbx.livejournal.com/402.html

  215. Pingback: canadian pharmacies that ship to us

  216. Pingback: avuiom.sellfy.store

  217. Pingback: canadian pharmacy meds

  218. Pingback: https://kwersd.mystrikingly.com/

  219. Pingback: hydroxychloroquine online

  220. Pingback: gewsd.estranky.skclankydrugstore-online.html

  221. Pingback: https://kqwsh.wordpress.com/2022/05/16/what-everybody-else-does-when-it-comes-to-online-pharmacies/

  222. Pingback: buy viagra usa

  223. Pingback: canadian viagra

  224. Pingback: aonubs.website2.me

  225. Pingback: https://dkyubn.bizwebs.com/

  226. Pingback: asebg.bigcartel.comcanadian-pharmacy

  227. Pingback: medicine-online.estranky.skclankyunderstand-covid-19-and-know-the-tricks-to-avoid-it-from-spreading-----medical-services.html

  228. Pingback: https://kertvbs.webgarden.com/

  229. Pingback: tadalafil daily

  230. Pingback: disvaiza.mystrikingly.com

  231. Pingback: canadian pharmacies that ship to us

  232. Pingback: buy viagra 25mg

  233. Pingback: best canadian pharmacy

  234. Pingback: 628f789e5ce03.site123.meblogwhat-everybody-else-does-when-it-comes-to-canadian-pharmacies

  235. Pingback: ivermectin over the counter

  236. Pingback: https://canadian-pharmaceutical.webflow.io/

  237. Pingback: stromectol oral

  238. Pingback: canadian pharmaceuticals online

  239. Pingback: http://pharmacy.prodact.site/

  240. Pingback: canada pharmacies online prescriptions

  241. Pingback: canadianpharmacy

  242. Pingback: canadian discount pharmacies

  243. Pingback: https://selera.mystrikingly.com/

  244. Pingback: Canadian Pharmacies Shipping to USA

  245. Pingback: https://gevcaf.estranky.cz/clanky/safe-canadian-online-pharmacies.html

  246. Pingback: kwersv.proweb.cz

  247. Pingback: kwervb.estranky.czclankycanadian-government-approved-pharmacies.html

  248. Pingback: stromectol purchase

  249. Pingback: bahis siteleri

  250. Pingback: sdtyli.zombeek.cz

  251. Pingback: https://kwsde.zombeek.cz/

  252. Pingback: canada medication

  253. Pingback: iercvsw.wordpress.com20220614canadian-pharmacies-the-fitting-manner

  254. Pingback: ivermectin in india

  255. Pingback: site955305180.fo.team

  256. Pingback: ivermectin 80 mg

  257. Pingback: ivermectin cream

  258. Pingback: ivermectine arrow lab

  259. Pingback: buy viagra usa

  260. Pingback: 62b2f636ecec4.site123.meblogcanadian-pharmaceuticals-online

  261. Pingback: top rated online canadian pharmacies

  262. Pingback: stromectol for lice

  263. Pingback: thefencefilm.co.ukcommunityprofilehswlux