Allow BasicAPIEncoder specialization

Review Request #7849 — Created Jan. 7, 2016 and discarded

Information

Djblets
release-0.9.x

Reviewers

Subclasses of the BasicAPIEncoder now can specify the JSON encoder
that is to be used. This defaults to the DjbletsJSONEncoder.

Used this with https://reviews.reviewboard.org/r/7822/.

Description From Last Updated

Let's call this json_encoder_cls, and mention that in the doc, just so it's very clear.

chipx86chipx86
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        djblets/util/serializers.py
        djblets/webapi/encoders.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        djblets/util/serializers.py
        djblets/webapi/encoders.py
    
    
  2. 
      
brennie
chipx86
  1. 
      
  2. djblets/webapi/encoders.py (Diff revision 1)
     
     
    Show all issues

    Let's call this json_encoder_cls, and mention that in the doc, just so it's very clear.

  3. 
      
brennie
Review request changed
Status:
Discarded