Created
January 3, 2018 08:48
-
-
Save lepinekong/4ab27f82f7f065af6fbc2f5e3d237054 to your computer and use it in GitHub Desktop.
split quotes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
quotes: {[{"date":1405699200,"high":0.0045388,"low":0.00403001,"open":0.00404545,"close":0.00435873,"volume":44.34555992,"quoteVolume":10311.88079097,"weightedAverage":0.00430043},{"date":1405713600,"high":0.00435,"low":0.00412,"open":0.00428012,"close":0.00412,"volume":19.12271662,"quoteVolume":4531.85801066,"weightedAverage":0.00421961}]} | |
replace/all quotes "[" "" | |
replace/all quotes "]" "" | |
quotes2: split quotes "," | |
;-> [{^{"date":1405699200} {"high":0.0045388} {"low":0.00403001} {"open":0.00404545} {"close":0.00435873} {"volume":44.34555992} {"quoteVolume":10311.88079097} {"weightedAverage":0.00430043^}} {^{"date":1405713600} {"high":0.00435} {"low":0.00412} {"open":0.00428012} {"close":0.00412} {"volume":19.12271662} {"quoteVolume":4531.85801066} {"weightedAverage":0.00421961^}}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment