original_docstring: Construct a new ClaimCollection from JSON.
docstring: Construct a new ClaimCollection from JSON.
docstring_tokens: Construct a new ClaimCollection from JSON .
code: def fromJSON(cls, data, repo):
          """Construct a new ClaimCollection from JSON."""
          this = cls(repo)
          for key, claims in data.items():
              this[key] = [pywikibot.page.Claim.fromJSON(repo, claim)
                           for claim in claims]
          return this
code_tokens: def fromJSON ( cls , data , repo ) : this = cls ( repo ) for key , claims in data . items ( ) : this [ key ] = [ pywikibot . page . Claim . fromJSON ( repo , claim ) for claim in claims ] return this
short_docstring: Construct a new ClaimCollection from JSON.
short_docstring_tokens: Construct a new ClaimCollection from JSON .
comment: """Construct a new ClaimCollection from JSON."""