Created
May 29, 2014 00:11
-
-
Save CampingScorpion/ff406ca128ecf600045e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| furtive.io.experimentation-platform> t* | |
| "{\"applied-promo-ids\":[],\"merchant-id\":\"c4fdad7d-9139-fbb2-c78a-9597fcef487b\",\"order-id\":\"20140529T001014.287Z\",\"shipping-cost-in-cents\":3000,\"total-in-cents\":3658,\"shipping-method\":\"FEDEX_HOME\",\"cart-price-adjustments\":[],\"payment-method\":\"CREDIT_CARD\",\"page\":{\"url\":\"http://localhost:9000/site/c4fdad7d-9139-fbb2-c78a-9597fcef487b/purchase\",\"page-type\":\"CHECKOUT\",\"url-referrer\":\"http://localhost:9000/site/c4fdad7d-9139-fbb2-c78a-9597fcef487b/cart\",\"landing-url\":null,\"search-string\":null,\"search-refinement-types\":[]},\"generic\":{\"api-version\":1,\"meta\":{},\"client-request-id\":\"ebb753a1-fe76-4446-9195-5f29725b8bcb\"},\"runa-user-token\":\"7499b2e4-97ff-4b0a-afcd-a517f9520dd0\",\"cart-items\":[{\"number-of-reviews\":null,\"product-name\":\"Nestle® Pure Life® Bottled Purified Water, 16.9 oz. Bottles, 24/Case\",\"quantity\":1,\"sales-price-in-cents\":599,\"cost-of-good-in-cents\":null,\"categories\":[\"Drinks\",\"Food and Drinks\"],\"rating\":null,\"sku\":\"571863\",\"merchant-price-in-cents\":599,\"manufacturer-price-in-cents\":799,\"price-adjustments\":[{\"type\":\"RUNA_DISCOUNT\",\"amount-in-cents\":0}],\"vendor\":\"Nestle\"}],\"tax-in-cents\":59,\"payment-method-token\":null}" | |
| furtive.io.experimentation-platform> (def jsonx t*) | |
| #'furtive.io.experimentation-platform/jsonx | |
| furtive.io.experimentation-platform> (def cljx (json/decode jsonx)) | |
| #'furtive.io.experimentation-platform/cljx | |
| furtive.io.experimentation-platform> (p cljx) | |
| {"applied-promo-ids" [], | |
| "cart-items" | |
| [{"categories" ["Drinks" "Food and Drinks"], | |
| "cost-of-good-in-cents" nil, | |
| "manufacturer-price-in-cents" 799, | |
| "merchant-price-in-cents" 599, | |
| "number-of-reviews" nil, | |
| "price-adjustments" [{"amount-in-cents" 0, "type" "RUNA_DISCOUNT"}], | |
| "product-name" | |
| "Nestle® Pure Life® Bottled Purified Water, 16.9 oz. Bottles, 24/Case", | |
| "quantity" 1, | |
| "rating" nil, | |
| "sales-price-in-cents" 599, | |
| "sku" "571863", | |
| "vendor" "Nestle"}], | |
| "cart-price-adjustments" [], | |
| "generic" | |
| {"api-version" 1, | |
| "client-request-id" "ebb753a1-fe76-4446-9195-5f29725b8bcb", | |
| "meta" {}}, | |
| "merchant-id" "c4fdad7d-9139-fbb2-c78a-9597fcef487b", | |
| "order-id" "20140529T001014.287Z", | |
| "page" | |
| {"landing-url" nil, | |
| "page-type" "CHECKOUT", | |
| "search-refinement-types" [], | |
| "search-string" nil, | |
| "url" | |
| "http://localhost:9000/site/c4fdad7d-9139-fbb2-c78a-9597fcef487b/purchase", | |
| "url-referrer" | |
| "http://localhost:9000/site/c4fdad7d-9139-fbb2-c78a-9597fcef487b/cart"}, | |
| "payment-method" "CREDIT_CARD", | |
| "payment-method-token" nil, | |
| "runa-user-token" "7499b2e4-97ff-4b0a-afcd-a517f9520dd0", | |
| "shipping-cost-in-cents" 3000, | |
| "shipping-method" "FEDEX_HOME", | |
| "tax-in-cents" 59, | |
| "total-in-cents" 3658} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment