Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. it's my birthday so you have to answer

it's my birthday so you have to answer

Scheduled Pinned Locked Moved The Lounge
jsonquestiondiscussion
27 Posts 13 Posters 5 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    honey the codewitch
    wrote on last edited by
    #1

    ;P (you don't really have to answer, but I'd like your thoughts) In all seriousness though, I have what is either A cool Json library (now supporting JsonPath) with one of the most ambitious demo projects ever built. Or, a cool Tmdb API access library with multilevel caching with a neat little Json component on the side. It's the same solution. Should I present it as two articles, each focusing on the relevant bit - like a Json one, and then a separate one for the Tmdb access api? Or should I try to roll this whole mess into one article?

    When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

    OriginalGriffO G B R R 11 Replies Last reply
    0
    • H honey the codewitch

      ;P (you don't really have to answer, but I'd like your thoughts) In all seriousness though, I have what is either A cool Json library (now supporting JsonPath) with one of the most ambitious demo projects ever built. Or, a cool Tmdb API access library with multilevel caching with a neat little Json component on the side. It's the same solution. Should I present it as two articles, each focusing on the relevant bit - like a Json one, and then a separate one for the Tmdb access api? Or should I try to roll this whole mess into one article?

      When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #2

      I'd roll them both into one big birthday cake and eat the lot myself, defending it from all others with large sharp implements. Happy birthday! :jig: :beer: :badger: :baaaa!:

      Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      H 1 Reply Last reply
      0
      • OriginalGriffO OriginalGriff

        I'd roll them both into one big birthday cake and eat the lot myself, defending it from all others with large sharp implements. Happy birthday! :jig: :beer: :badger: :baaaa!:

        Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

        H Offline
        H Offline
        honey the codewitch
        wrote on last edited by
        #3

        thanks, i think you're suggesting one article.

        When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

        OriginalGriffO 1 Reply Last reply
        0
        • H honey the codewitch

          thanks, i think you're suggesting one article.

          When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

          OriginalGriffO Offline
          OriginalGriffO Offline
          OriginalGriff
          wrote on last edited by
          #4

          No, I'm just firmly in favour of cake.

          Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

          H 1 Reply Last reply
          0
          • OriginalGriffO OriginalGriff

            No, I'm just firmly in favour of cake.

            Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

            H Offline
            H Offline
            honey the codewitch
            wrote on last edited by
            #5

            I was told the cake is a lie Portal - 'Still Alive' - YouTube[^]

            When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

            OriginalGriffO 1 Reply Last reply
            0
            • H honey the codewitch

              ;P (you don't really have to answer, but I'd like your thoughts) In all seriousness though, I have what is either A cool Json library (now supporting JsonPath) with one of the most ambitious demo projects ever built. Or, a cool Tmdb API access library with multilevel caching with a neat little Json component on the side. It's the same solution. Should I present it as two articles, each focusing on the relevant bit - like a Json one, and then a separate one for the Tmdb access api? Or should I try to roll this whole mess into one article?

              When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

              G Offline
              G Offline
              GKP1992
              wrote on last edited by
              #6

              Yes. Happy birthday. :beer:

              M 1 Reply Last reply
              0
              • H honey the codewitch

                I was told the cake is a lie Portal - 'Still Alive' - YouTube[^]

                When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

                OriginalGriffO Offline
                OriginalGriffO Offline
                OriginalGriff
                wrote on last edited by
                #7

                Yeah - but that wasn't a birthday cake. :-D

                Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

                "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                1 Reply Last reply
                0
                • G GKP1992

                  Yes. Happy birthday. :beer:

                  M Offline
                  M Offline
                  Mark_Wallace
                  wrote on last edited by
                  #8

                  I agree with one or the other or both of your statements.

                  I wanna be a eunuchs developer! Pass me a bread knife!

                  OriginalGriffO 1 Reply Last reply
                  0
                  • M Mark_Wallace

                    I agree with one or the other or both of your statements.

                    I wanna be a eunuchs developer! Pass me a bread knife!

                    OriginalGriffO Offline
                    OriginalGriffO Offline
                    OriginalGriff
                    wrote on last edited by
                    #9

                    I don't agree with any of them.

                    Sent from my Amstrad PC 1640 Never throw anything away, Griff Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

                    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                    M 1 Reply Last reply
                    0
                    • H honey the codewitch

                      ;P (you don't really have to answer, but I'd like your thoughts) In all seriousness though, I have what is either A cool Json library (now supporting JsonPath) with one of the most ambitious demo projects ever built. Or, a cool Tmdb API access library with multilevel caching with a neat little Json component on the side. It's the same solution. Should I present it as two articles, each focusing on the relevant bit - like a Json one, and then a separate one for the Tmdb access api? Or should I try to roll this whole mess into one article?

                      When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

                      B Offline
                      B Offline
                      BillW33
                      wrote on last edited by
                      #10

                      Yes, one big article and happy B-Day :-D

                      Just because the code works, it doesn't mean that it is good code.

                      1 Reply Last reply
                      0
                      • H honey the codewitch

                        ;P (you don't really have to answer, but I'd like your thoughts) In all seriousness though, I have what is either A cool Json library (now supporting JsonPath) with one of the most ambitious demo projects ever built. Or, a cool Tmdb API access library with multilevel caching with a neat little Json component on the side. It's the same solution. Should I present it as two articles, each focusing on the relevant bit - like a Json one, and then a separate one for the Tmdb access api? Or should I try to roll this whole mess into one article?

                        When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

                        R Offline
                        R Offline
                        Roger Wright
                        wrote on last edited by
                        #11

                        I'd do it as two articles, each focusing on the relevant bit. Even though the solution is a single product, there are two distinct topics to cover. Information is more readily absorbed in small chunks, like chocolate.

                        Will Rogers never met me.

                        1 Reply Last reply
                        0
                        • H honey the codewitch

                          ;P (you don't really have to answer, but I'd like your thoughts) In all seriousness though, I have what is either A cool Json library (now supporting JsonPath) with one of the most ambitious demo projects ever built. Or, a cool Tmdb API access library with multilevel caching with a neat little Json component on the side. It's the same solution. Should I present it as two articles, each focusing on the relevant bit - like a Json one, and then a separate one for the Tmdb access api? Or should I try to roll this whole mess into one article?

                          When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

                          R Offline
                          R Offline
                          Ravi Bhavnani
                          wrote on last edited by
                          #12

                          Happy birthday, and 2 articles please. /ravi

                          My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

                          1 Reply Last reply
                          0
                          • H honey the codewitch

                            ;P (you don't really have to answer, but I'd like your thoughts) In all seriousness though, I have what is either A cool Json library (now supporting JsonPath) with one of the most ambitious demo projects ever built. Or, a cool Tmdb API access library with multilevel caching with a neat little Json component on the side. It's the same solution. Should I present it as two articles, each focusing on the relevant bit - like a Json one, and then a separate one for the Tmdb access api? Or should I try to roll this whole mess into one article?

                            When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

                            P Offline
                            P Offline
                            PIEBALDconsult
                            wrote on last edited by
                            #13

                            Tell me more about this "JsonPath". Does it require reading an entire Json document into memory at once or can it read a stream an object at a time?

                            H 1 Reply Last reply
                            0
                            • P PIEBALDconsult

                              Tell me more about this "JsonPath". Does it require reading an entire Json document into memory at once or can it read a stream an object at a time?

                              H Offline
                              H Offline
                              honey the codewitch
                              wrote on last edited by
                              #14

                              Full JSON path only works over a loaded document. However, there is a JsonTextReader that works a lot like XmlReader but it does have extremely fast skip mechanisms, including "SkipToField" that only do a partial parse. You can use the reader to navigate to the node you want, and then you can call ParseSubtree() to only load that subtree into memory, and then you can use JSON path on that. The trouble is I didn't implement the JsonPath, someone else did under the MIT license and I'm using it in my code. It's quite cryptic and undocumented so I think i might be able to modify it eventually, but not at the moment. It only works on an in memory model.

                              When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

                              1 Reply Last reply
                              0
                              • H honey the codewitch

                                ;P (you don't really have to answer, but I'd like your thoughts) In all seriousness though, I have what is either A cool Json library (now supporting JsonPath) with one of the most ambitious demo projects ever built. Or, a cool Tmdb API access library with multilevel caching with a neat little Json component on the side. It's the same solution. Should I present it as two articles, each focusing on the relevant bit - like a Json one, and then a separate one for the Tmdb access api? Or should I try to roll this whole mess into one article?

                                When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

                                D Offline
                                D Offline
                                dandy72
                                wrote on last edited by
                                #15

                                I'd be in favor of two articles. One article that goes into all details just might prove to be too much for someone who's only interested in one part or the other. I'd say, write an article that dives into the details of your library, and then the second article (which can link to it) can focus on demonstrating how to use the library in your real-world app. *If* I've already your description correctly.

                                H 1 Reply Last reply
                                0
                                • D dandy72

                                  I'd be in favor of two articles. One article that goes into all details just might prove to be too much for someone who's only interested in one part or the other. I'd say, write an article that dives into the details of your library, and then the second article (which can link to it) can focus on demonstrating how to use the library in your real-world app. *If* I've already your description correctly.

                                  H Offline
                                  H Offline
                                  honey the codewitch
                                  wrote on last edited by
                                  #16

                                  you got it exactly right. this was my first inclination and i'm inclined to go with it after reading all the comments here. Thanks for your input.

                                  When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

                                  D 1 Reply Last reply
                                  0
                                  • H honey the codewitch

                                    ;P (you don't really have to answer, but I'd like your thoughts) In all seriousness though, I have what is either A cool Json library (now supporting JsonPath) with one of the most ambitious demo projects ever built. Or, a cool Tmdb API access library with multilevel caching with a neat little Json component on the side. It's the same solution. Should I present it as two articles, each focusing on the relevant bit - like a Json one, and then a separate one for the Tmdb access api? Or should I try to roll this whole mess into one article?

                                    When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

                                    D Offline
                                    D Offline
                                    Dr Walt Fair PE
                                    wrote on last edited by
                                    #17

                                    I'd start writing about one of them and then see if the second flows nicely into that or requires a second artyicle. GHood kluck, I'll be waiting to read it or them! CQ de W5ALT

                                    Walt Fair, Jr.PhD P. E. Comport Computing Specializing in Technical Engineering Software

                                    1 Reply Last reply
                                    0
                                    • H honey the codewitch

                                      you got it exactly right. this was my first inclination and i'm inclined to go with it after reading all the comments here. Thanks for your input.

                                      When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

                                      D Offline
                                      D Offline
                                      dandy72
                                      wrote on last edited by
                                      #18

                                      Cool. I'm looking forward to it them.

                                      1 Reply Last reply
                                      0
                                      • H honey the codewitch

                                        ;P (you don't really have to answer, but I'd like your thoughts) In all seriousness though, I have what is either A cool Json library (now supporting JsonPath) with one of the most ambitious demo projects ever built. Or, a cool Tmdb API access library with multilevel caching with a neat little Json component on the side. It's the same solution. Should I present it as two articles, each focusing on the relevant bit - like a Json one, and then a separate one for the Tmdb access api? Or should I try to roll this whole mess into one article?

                                        When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

                                        F Offline
                                        F Offline
                                        Forogar
                                        wrote on last edited by
                                        #19

                                        1. Happy Birthday! 2. I was thinking of writing a tmdb utility myself... but then I thought someone else would probably do most of the work for me if I waited a bit. So I waited a bit and now... Voila! 3. Two articles would probably be better or one with two distinct parts.

                                        - I would love to change the world, but they won’t give me the source code.

                                        H 1 Reply Last reply
                                        0
                                        • F Forogar

                                          1. Happy Birthday! 2. I was thinking of writing a tmdb utility myself... but then I thought someone else would probably do most of the work for me if I waited a bit. So I waited a bit and now... Voila! 3. Two articles would probably be better or one with two distinct parts.

                                          - I would love to change the world, but they won’t give me the source code.

                                          H Offline
                                          H Offline
                                          honey the codewitch
                                          wrote on last edited by
                                          #20

                                          Well, you should be happy with it as it covers all of the v3 api. It auto manages guest sessions. It's got dual caching - it does in memory caching on a per-thread basis for the objects - it's aggressive, it doesn't refresh at all - the in memory cache is intended to be used in a batch and then cleared. And then it has global url based caching where you can set how aggressive it is. It automatically recovers from TMDb's request limits too, so it will retry requests. It does automatic paging - you can get a range of pages as a result array in one call. It exposes the entire thing as an object model perfect for LINQing over. :) I'm actually almost done - but I'm going to post it without testing the entire api. The rationale is I'd rather put out something where a few of the calls don't work then make you wait the month it would take me to write tests for this. It's really easy to fix, especially the bugs that are likely to crop up (field names and urls) So that's the one caveat.

                                          When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

                                          F 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups